Description Usage Arguments Value See Also Examples
MMAPPR2 is designed to map the causative mutation in a forward genetics screen. It analyzes aligned sequence files, calculates the per-base Euclidean distance between the mutant and wild-type pools, performs a Loess regression on that distance, and generates candidate variants in regions of peak distance.
1 | mmappr(mmapprParam)
|
mmapprParam |
A |
A MmapprData
object containing results
and/or intermediate data.
calculateDistance
, loessFit
,
prePeak
, peakRefinement
,
generateCandidates
, outputMmapprData
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | if (requireNamespace('MMAPPR2data', quietly = TRUE)
& all(Sys.which(c('vep', 'samtools')) != '')) {
# Specify parameters:
mmappr_param <- MmapprParam(refFasta = MMAPPR2data::goldenFasta(),
wtFiles = MMAPPR2data::exampleWTbam(),
mutFiles = MMAPPR2data::exampleMutBam(),
species = "danio_rerio",
outputFolder = tempOutputFolder())
# Run pipeline:
mmapprData <- mmappr(mmappr_param)
}
## Not run:
### Alternately, you can navigate the pipeline step by step.
### This may be helpful for debugging.
md <- new('MmapprData', param = mmappr_param)
postCalcDistMD <- calculateDistance(md)
postLoessMD <- loessFit(postCalcDistMD)
postPrePeakMD <- prePeak(postLoessMD)
postPeakRefMD <- peakRefinement(postPrePeakMD)
postCandidatesMD <- generateCandidates(postPeakRefMD)
outputMmapprData(postCandidatesMD)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.