findTaxonLevel: Find the taxonomy for the given taxon id

Description Usage Arguments Value Examples

View source: R/taxonomy.R

Description

Find the taxonomy for the given taxon id

Usage

1

Arguments

tid

Given taxon id

Value

taxonomy LineageEx

Examples

1
2
3
4
5
6
7
example_data_dir <- system.file("example/data", package = "PathoStat")
pathoreport_file_suffix <- "-sam-report.tsv"
datlist <- readPathoscopeData(example_data_dir, pathoreport_file_suffix)
dat <- datlist$data
ids <- rownames(dat)
tids <- unlist(lapply(ids, FUN = grepTid))
taxonLevel <- findTaxonomy(tids[1])

PathoStat documentation built on Dec. 9, 2017, 2:02 a.m.