Description Usage Arguments Value Note Author(s) Examples
For a given vector of positions, list traits that map to those positions
1 | findpeaks.traits(chr, pos, sigpos.out, maxlod.out, peaks.out, win = 5)
|
chr |
Character vector of chromosomes, length equal to |
pos |
Numeric vector of positions, on chromosomes listed in |
sigpos.out |
List of positions with significant LOD scores from |
maxlod.out |
Optional list output from |
peaks.out |
Optional list output from |
win |
Numeric value for window size; trait positions with significant LOD
scores within +/- 1/2 |
Output is a data.frame
with values:
index |
Index of chr/pos vector |
chr |
Chromosome |
pos |
Position on Chromosome |
id |
Trait ID, from |
peak.pos |
Position of significant maximum LOD score, based on
output from |
lod |
if |
cis |
if |
Use in conjunction with findpeaks
Karl W. Broman and Aimee Teo Broman
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | data(fake.f2expr)
fake.f2expr <- calc.genoprob(fake.f2expr)
scan.f2 <- scanone(fake.f2expr,pheno.col=1:100, method="hk")
maxlod.f2 <- maxlod(scan.f2)
sigpos.f2 <- maxlod.sigpos(maxlod.f2,sig.lod=3)
## Random position ##
findpeaks.traits(chr=c("5","1"),pos=c(36,87),sigpos.f2)
## Use findpeaks() ##
n.f2 <- neqtl(sigpos.f2,chr=scan.f2[,1],pos=scan.f2[,2],win=5)
x <- findpeaks(n.f2)
findpeaks.traits(sigpos.f2,chr=x$chr,pos=x$pos)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.