getTaxonomyMatrix {PhyloProfile}R Documentation

Get taxonomy matrix

Description

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

Usage

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

# 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)

[Package PhyloProfile version 1.4.11 Index]