mkphenotype: generate a phenotype data frame

mkphenotypeR Documentation

generate a phenotype data frame

Description

Convert data in phenotype_table to a data frame of columns that are phenotypes. The columns may be affection status or quantitative values

Usage

mkphenotype(envir)

Arguments

envir

"environment" containing SQLite database and other globals

Value

is a data frame with FID column, then IID column, and then an additional column for each phenotype.

Examples

db = system.file("exdata", "seqsimm.db", package="Mega2R")
ENV = read.Mega2DB(db)
out = mkphenotype()

out

Mega2R documentation built on May 29, 2024, 1:14 a.m.