ImportDada2 | R Documentation |
the function can import the ouput of dada2, and generated the phyloseq obj contained the argument class.
import_dada2(seqtab, taxatab = NULL, reftree = NULL, sampleda = NULL, ...)
mp_import_dada2(seqtab, taxatab = NULL, reftree = NULL, sampleda = NULL, ...)
seqtab |
matrix, feature table, the output of |
taxatab |
matrix, a taxonomic table, the output of |
reftree |
phylo, treedata or character, the treedata or phylo class of tree, or the tree file. |
sampleda |
data.frame or character, the data.frame of sample information, or the file of sample information, nrow samples X ncol factors. |
... |
additional parameters. |
phyloseq class contained the argument class.
Shuangbin Xu
seqtabfile <- system.file("extdata", "seqtab.nochim.rds",
package="MicrobiotaProcess")
taxafile <- system.file("extdata", "taxa_tab.rds",
package="MicrobiotaProcess")
seqtab <- readRDS(seqtabfile)
taxa <- readRDS(taxafile)
sampleda <- system.file("extdata", "mouse.time.dada2.txt",
package="MicrobiotaProcess")
mpse <- mp_import_dada2(seqtab=seqtab, taxatab=taxa,
sampleda=sampleda)
mpse
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.