Learn R Programming

FindMyFriends (version 1.2.2)

nGenes: 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)
"nGenes"(object)

Arguments

object
A pgVirtual subclass

Value

An integer giving the number of genes in the object

Methods (by class)

  • pgVirtual: The number of genes in the pangenome for pgVirtual subclasses.

Examples

Run this code
testPG <- .loadPgExample()
nGenes(testPG)

Run the code above in your browser using DataLab