Description Usage Arguments Author(s) Examples
This function is used to delete certain phenotypes from
phenotypic part (phdata) of an object of
gwaa.data-class
1 | del.phdata(data, what, all = FALSE)
|
data |
an object of |
what |
which phenotypes (variables) to delete, expressed as (vector of) names (character) or integer (column of phdata data frame) |
all |
if 'all'=TRUE and 'what' is misisng, all phenotypes are deleted, and only the 'id' and 'sex' are kept |
Yurii Aulchenko
1 2 3 4 5 6 7 | require(GenABEL.data)
data(srdta)
phdata(srdta)[1:5,]
srdta <- del.phdata(srdta,"qt1")
phdata(srdta)[1:5,]
srdta <- del.phdata(srdta,all=TRUE)
phdata(srdta)[1:5,]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.