findTaxonLevel {PathoStat} | R Documentation |
Find the taxonomy for the given taxon id
findTaxonLevel(tid)
tid |
Given taxon id |
taxonomy LineageEx
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])