Description Usage Arguments Value Author(s)
View source: R/arrange_probabel_phe.R
Function to arrange ProbABEL phenotype-file; it takes phenotypic data as input and aligns that with genotypic data of ProbABEL
1 2 | arrange_probabel_phe(modelterms, phedata, gendata,
file = "probabel.PHE")
|
modelterms |
vector of character, which specifies the variables to be included into ProbABEL phenotype-file. Should contain, and start with 'id' column, which should provide the same ID codes as these in gendata |
phedata |
phenotypic data (matrix, data.frame, or gwaa.data-class object) |
gendata |
genetic data to be used with ProbABEL, either databel-class object or name of the (index/data) file containing filevector data for ProbABEL |
file |
name of the ProbABEL phenotype file |
file with phenotypes ready for use with ProbABEL
Yurii Aulchenko
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.