Description Usage Arguments Value Examples
Follows the peakRefinement
step and produces a
MmapprData
object ready for
outputMmapprData
.
1 | generateCandidates(mmapprData)
|
mmapprData |
The |
A MmapprData
object with the candidates
slot filled with a GRanges
object for each
peak chromosome containing variants and predicted consequences from
Ensembl's Variant Effect Predictor.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | if (requireNamespace('MMAPPR2data', quietly=TRUE)
& all(Sys.which(c("samtools", "vep")) != "")) {
mmappr_param <- MmapprParam(refFasta = MMAPPR2data::goldenFasta(),
wtFiles = MMAPPR2data::exampleWTbam(),
mutFiles = MMAPPR2data::exampleMutBam(),
species = "danio_rerio",
outputFolder = tempOutputFolder())
}
## Not run:
md <- new('MmapprData', param = mmappr_param)
postCalcDistMD <- calculateDistance(md)
postLoessMD <- loessFit(postCalcDistMD)
postPrePeakMD <- prePeak(postLoessMD)
postPeakRefMD <- peakRefinement(postPrePeakMD)
postCandidatesMD <- generateCandidates(postPeakRefMD)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.