SQM_to_phyloseq | R Documentation |
This function will convert the selected features from a SQM object into a phyloseq object from the phyloseq package. When possible, it will also include the taxonomy of the included features (for functional classifications, the taxonomy table will instead include the description of each feature ID). Optionally, it accepts a meta table that will be passed as provided to the phyloseq
object constructor.
SQM_to_phyloseq(
SQM,
features = "genus",
count = "abund",
md = NULL,
nocds = "treat_separately",
no_partial_classifications = FALSE,
ignore_unclassified = FALSE,
ignore_unmapped = FALSE,
bin_tax_source = "SQM",
include_seqs = FALSE
)
SQM |
A SQM, SQMbunch or SQMlite object. |
features |
character. Either |
count |
character. Either |
md |
data.frame. A optional data.frame containing metadata for the samples in the SQM object. |
nocds |
character. Either |
no_partial_classifications |
logical. When |
ignore_unclassified |
logical. When |
ignore_unmapped |
logical. Don't include unmapped reads in the output (default |
bin_tax_source |
character. Source of taxonomy when |
include_seqs |
logical. Whether to include sequences or not if creating a microtable from ORFs or contigs (default |
A phyloseq object.
SQM_to_microeco
for exporting a SQM/SQMlite/SQM object as a microtable object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.