R/read_taxtable.R

read_taxtable <- function (taxonomy.file, sep = ",") {

    s.tax <- read.csv(taxonomy.file, row.names=1, check.names=FALSE, sep = sep)
    s.taxmat <- as.matrix(s.tax)

    tax_table(s.taxmat)

}

Try the microbiome package in your browser

Any scripts or data that you put into this service are public.

microbiome documentation built on Nov. 8, 2020, 5:08 p.m.