Description Usage Arguments Value Examples
MmapprParam
stores parameters for running mmappr
.
1 2 3 4 5 6 | MmapprParam(refFasta, wtFiles, mutFiles, species, vepFlags = NULL,
refGenome = NULL, outputFolder = NULL, distancePower = 4,
peakIntervalWidth = 0.95, minDepth = 10, homozygoteCutoff = 0.95,
minBaseQuality = 20, minMapQuality = 30,
loessOptResolution = 0.001, loessOptCutFactor = 0.1, naCutoff = 0,
fileAggregation = c("sum", "mean"))
|
refFasta |
The path to the fasta file genome, which will be referenced in reading the BAM files. |
wtFiles |
Character vector,
|
mutFiles |
Character vector,
|
species |
Length-one character vector of name of species under
analysis. Used only in generating default
|
vepFlags |
Optional |
refGenome |
|
outputFolder |
Length-one character vector specifying where to save
output, including a |
distancePower |
Length-one numeric vector determing to what power Euclidean distance values are raised before fitting. Higher powers tend to increase high values and decrease low values, exaggerating the variation in the data. Default of 4. |
peakIntervalWidth |
Length-one numeric vector between |
minDepth |
Length-one integer vector determining minimum depth required for a position to be considered in the analysis. Defaults to 10. |
homozygoteCutoff |
Length-one numeric vector between |
minBaseQuality |
Length-one numeric vector indicating minimum base call quality to consider in analysis. Read positions with qualities below this score will be thrown out. Defaults to 20. |
minMapQuality |
Length-one numeric vector indicating minimum read mapping quality to consider in analysis. Reads with qualities below this score will be thrown out. Defaults to 30. |
loessOptResolution |
Length-one numeric vector between |
loessOptCutFactor |
Length-one numeric vector between |
naCutoff |
Integer specifying the most NAs to accept at a given position–that is, the number of files without data for that position. Defaults to 0. |
fileAggregation |
A length-one character vector determining strategy for aggregating base calls when multiple wild-type or multiple mutant files are provided. When 'sum', average base call proportions are computed using the read counts from each file, effectively weighting files with higher counts at a given position. When equal to 'mean', the base call proportions as well as read depths, rather than the absolute count, are averaged across files, which is useful when you want to weight each replicate evenly without regards to differing depth. |
A MmapprParam
object.
1 2 3 4 5 6 7 8 | 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())
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.