View source: R/summary.scanone.R
subset.scanoneperm | R Documentation |
Pull out results for a specified set LOD columns from
permutation results from scanone
.
## S3 method for class 'scanoneperm'
subset(x, repl, lodcolumn, ...)
## S3 method for class 'scanoneperm'
x[repl, lodcolumn]
x |
Permutation results from
|
repl |
A vector specifying which permutation replicates to keep or (if negative) omit. |
lodcolumn |
A vector specifying which LOD columns to keep or (if
negative) omit. These should be between 1 and the number of LOD
columns in the input |
... |
Ignored at this point. |
The input scanone
permutation results, but with only the specified
subset of the data.
Karl W Broman, broman@wisc.edu
summary.scanoneperm
,
scanone
, c.scanoneperm
,
cbind.scanoneperm
,
rbind.scanoneperm
data(fake.bc)
fake.bc <- calc.genoprob(fake.bc, step=5)
operm <- scanone(fake.bc, method="hk", pheno.col=1:2, n.perm=25)
operm2 <- subset(operm, lodcolumn=2)
# alternatively
operm2alt <- operm[,2]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.