| beadsRR | R Documentation |
To approximate the false positive rate of each approach, each beads-only sample is run individually against all other samples. For BEER, this means that the sample to be compared is encoded as an actual sample, and prior parameters for beads-only samples are re-estimated. Thus, the beads-only round robin also serves to assess how similar the beads-only samples are to one another.
beadsRR(object, method, BPPARAM = BiocParallel::bpparam(), ...)
object |
PhIPData object |
method |
one of |
BPPARAM |
|
... |
parameters passed to the method specific functions. See the Details section below for additional information. |
If method == 'beer', then valid parameters include
prior.params, beads.args, jags.params,
sample.dir, assay.names, and summarize. A description
of the first four parameters can be found in brew.
summarize is a logical value indicating whether a PhIPData object
with the summarized results should be returned. When running beadsRR,
summarize typically does not need to be changed.
When method == 'edgeR', threshold.cpm,
threshold.prevalence, and assay.names are valid additional
parameters that can be supplied to beadsRR. See edgeR
for additional details on each of these parameters.
a PhIPData object
brew for BEER parameters, edgeR for
edgeR parameters, and [BiocParallel::BiocParallelParam] for
parallelization.
sim_data <- readRDS(system.file("extdata", "sim_data.rds", package = "beer"))
beadsRR(sim_data, method = "beer")
beadsRR(sim_data, method = "edgeR")
beadsRR(sim_data, method = "edgeR", de.method = "glmQLFTest")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.