TranslateIdToTaxLevel {PathoStat} | R Documentation

## Find the taxonomy for the given taxon id name

### Description

Find the taxonomy for the given taxon id name

### Usage

    TranslateIdToTaxLevel(pstat, input.id.vec, tax.level)

### Arguments

`pstat` | pathostat object
`input.id.vec` | names containing id
`tax.level` | target taxon level

### Value

target taxon level names

### Examples

    data_dir_test <- system.file("data", package = "PathoStat")
    pstat_test <- loadPstat(indir=data_dir_test,
    infileName="pstat_data_2_L1.rda")
    names.new <- TranslateIdToTaxLevel(pstat_test,
    c("ti|862962|org|Bacteroides_fragilis_638R",
    "ti|697329|org|Ruminococcus_albus_7" ),
    "genus")

[Package PathoStat version 1.10.0 Index]