PathoStat-class {PathoStat} | R Documentation |
Contains all currently-supported BatchQC output data classes:
slots:
a single object of class otu_tableOrNULL
a single object of class otu_tableOrNULL
a single object of class otu_tableOrNULL
a single object of class otu_tableOrNULL
otumat = matrix(sample(1:100, 100, replace = TRUE), nrow = 10, ncol = 10) rownames(otumat) <- paste0("OTU", 1:nrow(otumat)) colnames(otumat) <- paste0("Sample", 1:ncol(otumat)) taxmat = matrix(sample(letters, 70, replace = TRUE), nrow = nrow(otumat), ncol = 7) rownames(taxmat) <- rownames(otumat) colnames(taxmat) <- c("Domain", "Phylum", "Class", "Order", "Family", "Genus", "Species") OTU = phyloseq::otu_table(otumat, taxa_are_rows = TRUE) TAX = phyloseq::tax_table(taxmat) physeq = phyloseq::phyloseq(OTU, TAX) pathostat1(physeq)