orgStat: Calculate statistics about each organism

Description Usage Arguments Value Methods (by class) Examples

Description

This method, much like codegroupStat calculates different statistics for each organism in the pangenome. Depending on the parameters the statistics are: number of genes, minimum length of gene, maximum length of gene standard deviation of gene lengths, residue frequency, number of gene groups and number of paralogues.

Usage

1
2
3
4
orgStat(object, ...)

## S4 method for signature 'pgVirtual'
orgStat(object, subset, getFrequency = FALSE)

Arguments

object

A pgVirtual subclass

...

parameters passed on.

subset

Name or indexes of organisms to include

getFrequency

logical. Should amino/nucleic acid frequency be calculated

Value

A data.frame with a row per organism, with each statistic in a column

Methods (by class)

Examples

1
2
3
testPG <- .loadPgExample(withGroups=TRUE)

orgStats <- orgStat(testPG)

FindMyFriends documentation built on May 31, 2017, 3:49 p.m.

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