SQM_to_phyloseq
SQM_to_phyloseq |
R Documentation |
Convert a SQM object into a phyloseq object from the phyloseq package
Description
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.
Usage
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
)
Arguments
|
A SQM, SQMbunch or SQMlite object. |
|
character. Either |
|
character. Either |
|
data.frame. A optional data.frame containing metadata for the samples in the SQM object. |
|
character. Either
|
|
logical. When |
|
logical. When |
|
logical. Don’t include unmapped
reads in the output (default
|
|
character. Source of taxonomy when
|
|
logical. Whether to include
sequences or not if creating a
microtable from ORFs or contigs
(default |
Value
A phyloseq object.
See Also
SQM_to_microeco for exporting a SQM/SQMlite/SQM object as a
microtable object.