data access {dlmap} | R Documentation |
Access the number of unique genotyped individuals; unique phenotyped individuals; and number of markers on each map chromosome
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
# 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)