sortTaxonomyMatrix: Sort a taxonomy matrix based on a defined reference species

View source: R/sortTaxonomyMatrix.R

sortTaxonomyMatrixR Documentation

Sort a taxonomy matrix based on a defined reference species

Description

Sort a clustered taxonomy matrix for a list of taxon IDs, sorted based on a defined reference species

Usage

sortTaxonomyMatrix(taxonList = NULL, refspec = NULL)

Arguments

taxonList

list of taxonomy IDs

refspec

reference taxon

Value

A dataframe contains clustered taxonomy matrix

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

Examples

taxonList <- c("Homo sapiens", "5207", "40674", "4751", "3702", "72664")
sortTaxonomyMatrix(taxonList, "Homo sapiens")

trvinh/taxFun documentation built on July 3, 2023, 8:55 p.m.