runBorealis | R Documentation |
Run the full borealis pipeline. It will load in bismark data and save out to disk matrix-based methylation and total count files, then it will build the beta-binomial statistical models for the cohort at each CpG site and save the parameters of this model to disk, and finally provide outlier p-values and summary statistics for each sample in the cohort at each CpG site.
runBorealis(inDir, suffix ="_merged.cov.gz.CpG_report.merged_CpG_evidence.cov.gz", nThreads = 8, minDepth = 4, minSamps = 5, timeout = 10, laplaceSmooth = TRUE, chrs = c(paste0("chr",seq_len(22)), "chrX", "chrY"), outprefix = "borealis_", modelOutPrefix = "CpG_model")
inDir |
|
suffix |
(optional) |
nThreads |
(optional) |
minDepth |
(optional) |
minSamps |
(optional) |
timeout |
(optional) |
laplaceSmooth |
(optional) |
chrs |
(optional) A character vector listing the chromosomes to be loaded. |
outprefix |
(optional) |
modelOutPrefix |
(optional) |
Returns an object of "BSseq" class with raw dataset loaded and used for modeling purposes.
extdata <- system.file("extdata","bismark", package="borealis") outdir <- tempdir() results <- runBorealis(extdata,nThreads=2,chrs="chr14",suffix=".gz", outprefix = file.path(outdir,"borealis_"), modelOutPrefix = file.path(outdir,"CpG_model"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.