orgNames: Get and set the names of organisms in the pangenome

Description Usage Arguments Value Methods (by class) Note Examples

Description

These methods lets you manipulate the naming of organisms in the pangenome. By default organisms are named after the fasta file they are defined by, but this can be changed at will.

Usage

1
2
3
4
5
6
7
8
9
orgNames(object)

orgNames(object) <- value

## S4 method for signature 'pgInMem'
orgNames(object)

## S4 replacement method for signature 'pgInMem'
orgNames(object) <- value

Arguments

object

A pgVirtual subclass

value

A vector with new names - will be coerced to characters

Value

In case of the getter a character vector with names

Methods (by class)

  • pgInMem: Get organism names for pgInMem subclasses

  • pgInMem: Set organism names for pgInMem subclasses

Note

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

Examples

1
2
3
4
testPG <- .loadPgExample()
orgNames(testPG)

orgNames(testPG)[3] <- 'Organism 3'


Search within the FindMyFriends package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.