findTaxonMat: Find the Taxonomy Information Matrix

Description Usage Arguments Value Examples

View source: R/taxonomy.R

Description

Find the Taxonomy Information Matrix

Usage

1
findTaxonMat(names, taxonLevels)

Arguments

names

Row names of the taxonomy matrix

taxonLevels

Taxon Levels of all tids

Value

taxmat Taxonomy Information Matrix

Examples

1
2
3
4
5
6
7
8
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))
taxonLevels <- findTaxonomy(tids[1:5])
taxmat <- findTaxonMat(ids[1:5], taxonLevels)

PathoStat documentation built on May 31, 2017, 3:07 p.m.