arrange_probabel_phe: arranges ProbABEL phenotype-file

Description Usage Arguments Value Author(s)

View source: R/arrange_probabel_phe.R

Description

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

Usage

1
2
  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


GenABEL documentation built on May 30, 2017, 3:36 a.m.