peakRefinement: Characterize Euclidean distance peaks using resampling...

Description Usage Arguments Value Examples

View source: R/peaks.R

Description

Follows the prePeak step and precedes generateCandidates.

Usage

1
peakRefinement(mmapprData)

Arguments

mmapprData

The MmapprData object to be analyzed.

Value

A MmapprData object with the peaks slot filled and populated.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
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)

## End(Not run)

jonathonthill/MMAPPR2 documentation built on Oct. 2, 2019, 8:16 a.m.