nGenes {FindMyFriends}R Documentation

Get the total number of genes in a pangenome

Description

This method returns the total number of genes in a pangenome (i.e. the sum of genes in each organism in the pangenome)

Usage

nGenes(object)

## S4 method for signature 'pgVirtual'
nGenes(object)

Arguments

object

A pgVirtual subclass

Value

An integer giving the number of genes in the object

Methods (by class)

Examples

testPG <- .loadPgExample()
nGenes(testPG)


[Package FindMyFriends version 1.16.0 Index]