findTaxonMat {PathoStat} | R Documentation

## Find the Taxonomy Information Matrix

### Description

Find the Taxonomy Information Matrix

### Usage

    findTaxonMat(names, taxonLevels)

### Arguments

`names` | Row names of the taxonomy matrix
`taxonLevels` | Taxon Levels of all tids

### Value

taxmat Taxonomy Information Matrix

### Examples

    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)

[Package PathoStat version 1.6.1 Index]