Description Usage Arguments Value Author(s) References Examples
Access the number of unique genotyped individuals; unique phenotyped individuals; and number of markers on each map chromosome
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ngen(object, ...)
## S3 method for class 'dlmap'
ngen(object, ...)
## S3 method for class 'dlcross'
ngen(object, ...)
nphen(object, ...)
## S3 method for class 'dlmap'
nphen(object, ...)
## S3 method for class 'dlcross'
nphen(object, ...)
nmrk(object, ...)
## S3 method for class 'dlmap'
nmrk(object, ...)
## S3 method for class 'dlcross'
nmrk(object, ...)
|
object |
Object of type dlcross or dlmap |
... |
Additional arguments |
ngen returns the number of unique genotyped individuals. nphen returns the number of unique phenotyped individuals - generally greater than or equal to ngen because of replicates. nmrk returns a vector indicating the number of markers on each chromosome.
Emma Huang and Andrew George
Huang, BE and George, AW. 2009. Look before you leap: A new approach to QTL mapping. TAG 119:899-911
B. Emma Huang, Rohan Shah, Andrew W. George (2012). dlmap: An R Package for Mixed Model QTL and Association Analysis. Journal of Statistical Software 50(6): 1-22. URL http://www.jstatsoft.org/v50/i06/.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # load dataset
data(BSdat)
data(BSphe2)
## Not run:
# convert data to dlmap format
dl.in1 <- dlcross(format="rqtl", genobj=BSdat, idname="ID", fixpos=1)
ngen(dl.in1)
nphen(dl.in1)
nmrk(dl.in1)
# convert data with separate phenotypic trait file
dl.in2 <- dlcross(format="rqtl", genobj=BSdat, pheobj=BSphe2, idname="ID", step=5)
ngen(dl.in2)
nphen(dl.in2)
nmrk(dl.in2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.