geneLocation {FindMyFriends} | R Documentation |
This method returns the gene location of all genes as a data.frame with each row corresponding to a gene in the pangenome. The data.frame will have the columns 'start', 'end', 'contig' and 'strand' (order of columns not ensured) with start and end giving the start and end position of the gene on the contig/chromosome given in the contig column. Strand gives the direction of translation, 1 is from start to end and -1 is from end to start (thus start should always be lower than end no matter the direction of translation)
geneLocation(object) ## S4 method for signature 'pgInMemLoc' geneLocation(object)
object |
A pgVirtual subclass |
A data.frame as described above
pgInMemLoc
: Get gene location for pgInMemLoc subclasses
Required for subclasses of pgVirtualLoc in order to extend the class system of FindMyFriends
testPG <- .loadPgExample(geneLoc=TRUE) head(geneLocation(testPG))