arrange_probabel_phe {GenABEL}R Documentation

arranges ProbABEL phenotype-file

Description

Function to arrange ProbABEL phenotype-file; it takes phenotypic data as input and aligns that with genotypic data of ProbABEL

Usage

  arrange_probabel_phe(modelterms, phedata, gendata,
    file = "probabel.PHE")

Arguments

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

Value

file with phenotypes ready for use with ProbABEL

Author(s)

Yurii Aulchenko


[Package GenABEL version 1.8-0 Index]