Description Usage Arguments Value References Examples
View source: R/dacomp_generate_example_data.R
Generate a simulated dataset, similar to dacomp.generate_example_dataset_continuous
with the following difference: the generated dataset contains two phenotypes, instead of one.
The change observed in a sample, is monotone increasing with the values of each measured covariate.
1 2 3 4 5 | dacomp.generate_example_dataset_multivariate_example(
n,
m1 = 30,
signal_strength_as_change_in_microbial_load = 0.1
)
|
n |
Number of samples. |
m1 |
Number of differentially abundant taxa |
signal_strength_as_change_in_microbial_load |
a list
countsA counts matrix with n
rows, and 1384 columns, rows represent samples,columns represent taxa.
covariateThe measured phenotype, a matrix of size n X 2
, rows in this matrix correspond to the rows of counts
select_diff_abundantA vector containing the indices of taxa that are differentially abundant.
taxonomyA table for the taxonomic affiliation of OTUs in the simulated dataset.
Brill, Barak, Amnon Amir, and Ruth Heller. 2019. Testing for Differential Abundance in Compositional Counts Data, with Application to Microbiome Studies. arXiv Preprint arXiv:1904.08937.
Kostic, Aleksandar D, Dirk Gevers, Chandra Sekhar Pedamallu, Monia Michaud, Fujiko Duke, Ashlee M Earl, Akinyemi I Ojesina, et al. 2012. Genomic Analysis Identifies Association of Fusobacterium with Colorectal Carcinoma. Genome Research 22 (2). Cold Spring Harbor Lab: 292–98.
McMurdie, Paul J, and Susan Holmes. 2013. Phyloseq: An R Package for Reproducible Interactive Analysis and Graphics of Microbiome Census Data. PloS One 8 (4). Public Library of Science: e61217.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.