SQM_to_microeco
SQM_to_microeco |
R Documentation |
Convert a SQM object into a microtable object from the microeco package
Description
This function will convert the selected features from a SQM object
into an object of the microtable class from the
microeco 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 microtable$new.
Usage
SQM_to_microeco(
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 contigs (default
|
Value
A microtable.
See Also
SQM_to_phyloseq for exporting a SQM/SQMlite/SQM object as a
phyloseq object.