downsample_counts: Simulate count data from the generative model, downsampling...

View source: R/simulation.R

downsample_countsR Documentation

Simulate count data from the generative model, downsampling it repeatedly, and estimate the CLR correlation across taxa. Score the fidelity of estimates on this downsampled data by calculating the proportion of taxon-taxon correlations matched for sign.

Description

Simulate count data from the generative model, downsampling it repeatedly, and estimate the CLR correlation across taxa. Score the fidelity of estimates on this downsampled data by calculating the proportion of taxon-taxon correlations matched for sign.

Usage

downsample_counts(sample_no = c(10, 20, 30, 40, 50, 75, 100, 200))

Arguments

sample_no

vector of sample counts; simulated data will be iteratively downsampled to these sample counts


kimberlyroche/rulesoflife documentation built on May 7, 2023, 11:08 a.m.