View source: R/prepare_network_data.R
prepare_network_data | R Documentation |
This function prepares data for correlation network analysis at a specified
level of taxonomic classification. Singleton ASVs are first removed from a
provided binned data (from bin_taxonomy()
) that are filtered either above or below
a given abundance cutoff value based on user input. Corresponding metadata columns
(such as a geochemical parameter for each sample) may be included in the
preprocessed network data by specifying the corr.cols
option.
Microbial abundance and environmental metadata (if applicable) are normalized
on a scale of 0-1 for downstream correlation matrix construction.
prepare_network_data(binned.tax, meta.data, corr.cols, sub.comms)
binned.tax |
Output from |
meta.data |
See |
corr.cols |
Metadata variables (such as sample environmental data) to include in network correlations. Variables must be supplied as a concatenated string of column names from |
sub.comms |
Optional Metadata column by which to separate networks. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.