Description Usage Arguments Examples
View source: R/prior_fitting.R
Fit a marginal prior
1 2 3 4 5 6 7 8 9 | fit_marg_prior(
mpra_data,
n_cores = 1,
plot_rep_cutoff = TRUE,
rep_cutoff = 0.15,
sample_depths,
well_represented,
verbose = TRUE
)
|
mpra_data |
a data frame of mpra data |
n_cores |
number of cores to parallelize across |
plot_rep_cutoff |
logical indicating whether to plot the representation cutoff used |
rep_cutoff |
fraction indicating the depth-adjusted DNA count quantile to use as the cutoff |
sample_depths |
optional inputs to allow passing in sample_depths and well_represented objects |
well_represented |
optional inputs to allow passing in sample_depths and well_represented objects |
verbose |
logical indicating whether to print messages |
1 2 3 4 | marg_prior = fit_marg_prior(umpra_example,
rep_cutoff = .15,
plot_rep_cutoff = TRUE,
n_cores = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.