geneLocation: Get gene location for all genes

Description Usage Arguments Value Methods (by class) Note Examples

Description

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)

Usage

1
2
3
4
geneLocation(object)

## S4 method for signature 'pgInMemLoc'
geneLocation(object)

Arguments

object

A pgVirtual subclass

Value

A data.frame as described above

Methods (by class)

Note

Required for subclasses of pgVirtualLoc in order to extend the class system of FindMyFriends

Examples

1
2
testPG <- .loadPgExample(geneLoc=TRUE)
head(geneLocation(testPG))

FindMyFriends documentation built on Nov. 8, 2020, 6:46 p.m.