getTaxonomyMatrix: Get taxonomy matrix

Description Usage Arguments Value Author(s) Examples

View source: R/parsePhyloProfile.R

Description

Get the (full or subset) taxonomy matrix from "data/taxonomyMatrix.txt" based on an input taxon list

Usage

1
getTaxonomyMatrix(subsetTaxaCheck = FALSE, taxonIDs = NULL)

Arguments

subsetTaxaCheck

TRUE/FALSE subset taxonomy matrix based on input taxon IDs. Default = FALSE.

taxonIDs

list of input taxon IDs (e.g. ncbi1234). Default = NULL.

Value

Data frame contains the (subset of) taxonomy matrix for list of input taxa.

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

Examples

1
2
3
4
5
# get full pre-installed taxonomy matrix
getTaxonomyMatrix(FALSE, NULL)
# get taxonomy matrix for a list of taxon IDs
taxonIDs <- c("ncbi9606", "ncbi10116")
getTaxonomyMatrix(TRUE, taxonIDs)

PhyloProfile documentation built on March 27, 2021, 6:01 p.m.