lodPeaks | R Documentation |
Identify and summarise LOD score peaks.
lodPeaks(x, threshold, width = 1)
peakSummary(x, threshold, width = 1, physmap = NULL)
x |
A linkres object, or data frame with columns |
threshold |
A single number |
width |
A positive integer |
physmap |
A matrix or data frame with three columns: Marker name, chromosome and physical position. |
A peak is defined as a run of at least width
consecutive markers with LOD
score above or equal to threshold
. If possible, one flanking marker is
included on each side of the peak.
A list of data frames.
linkres, lod()
, merlinLod()
# Use built-in dataset `dominant1`
lods = lod(x = dominant1$ped,
aff = dominant1$aff,
model = diseaseModel("AD"))
# All peaks above LOD = 1.5
lodPeaks(lods, threshold = 1.5)
peakSummary(lods, threshold = 1.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.