Learn R Programming

FindMyFriends (version 1.2.2)

nOrganisms: Get the number of organisms represented in a pangenome

Description

This method returns the current number of organisms in a pgVirtual subclass. This is also the result of calling length() on the object.

Usage

nOrganisms(object)
"nOrganisms"(object)

Arguments

object
A pgVirtual subclass

Value

An integer giving the number of organisms

Methods (by class)

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

Examples

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

Run the code above in your browser using DataLab