Description Usage Arguments Value Methods (by class) Note See Also Examples
This method returns the group membership for each gene in the pangenome as a vector of indices. Element 1 corresponds to gene 1 and the value is the index of the corresponding gene group. If gene groups have yet to be defined it returns a vector of length 0.
1 2 3 4 | seqToGeneGroup(object)
## S4 method for signature 'pgInMem'
seqToGeneGroup(object)
|
object |
A pgVirtual subclass |
An integer vector with an element for each gene in the pangenome.
pgInMem
: Gene to genegroup indexing for pgInMem subclasses
Required for extending the class system of FindMyFriends
seqToOrg
for gene-to-organism relationship
1 2 3 4 | testPG <- .loadPgExample(withGroups=TRUE)
# Have a look at what the first six genes belongs to
head(seqToGeneGroup(testPG))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.