taxonomyTableCreator: Align NCBI taxonomy IDs of list of taxa into a sorted rank...

View source: R/createTaxonomyMatrix.R

taxonomyTableCreatorR Documentation

Align NCBI taxonomy IDs of list of taxa into a sorted rank list.

Description

Align NCBI taxonomy IDs of list of taxa into a sorted rank list.

Usage

taxonomyTableCreator(idListFile = NULL, rankListFile = NULL)

Arguments

idListFile

a text file whose each row is a rank+ID list of a taxon (see idListFile in example)

rankListFile

a text file whose each row is a rank list of a taxon (see rankListFile in example)

Value

An aligned taxonomy dataframe which contains all the available taxonomy ranks from the id and rank list file. This dataframe can be used for creating a well resolved taxonomy tree (see ?createUnrootedTree) and sorting taxa based on a selected reference taxon (see ?sortInputTaxa).

Author(s)

Vinh Tran tran@bio.uni-frankfurt.de

See Also

rankIndexing, createUnrootedTree, sortInputTaxa

Examples

idListFile <- system.file(
    "extdata", "data/idList.txt", package = "PhyloProfile", mustWork = TRUE
)
rankListFile <- system.file(
    "extdata", "data/rankList.txt", package = "PhyloProfile", mustWork = TRUE
)
taxonomyTableCreator(idListFile, rankListFile)

BIONF/PhyloProfile documentation built on April 14, 2024, 10:39 p.m.