Description Usage Arguments Value See Also Examples
View source: R/variant_caller.R
You can filter variants called with the the "callVariants" function based on adjusted p-value, minimum variant allele count and supply a list of assays and samples to plot.
1 2 3 4 5 6 7 | filterVariants(
object,
p.adjust = 0.2,
minVarCount = 5,
amplicons = NULL,
samples = NULL
)
|
object |
A UMIexperiment object |
p.adjust |
Numeric. Adjusted p value (FDR). Default is 0.2. |
minVarCount |
Integer. Minimum variant allele count. Default is 5. |
amplicons |
NULL or list of assays to plot. NULL uses all. |
samples |
NULL or list of samples to plot. NULL uses all. |
A UMIexperiment object with filtered variants. Can be used to generate VCF files.
callVariants
on how to call variants.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(umiAnalyzer)
main <- system.file("extdata", package = "umiAnalyzer")
simsen <- createUmiExperiment(main)
simsen <- filterUmiObject(simsen)
simsen <- callVariants(simsen, computePrior = FALSE)
simsen <- filterVariants(simsen, p.adjust = 0.05)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.