phe.writer: Write phenotypes

Description Usage Arguments Author(s) Examples

Description

Write out the simulated phenotypes.

Usage

1
phe.writer(phe, onefile = TRUE, fname = "simu.pheno", ...)

Arguments

phe

a data.frame or a matrix of simulated phenotypes. Each column is a phenotype.

onefile

whether to create just one file for all phenotypes (default) or one per phenotype

fname

filename of the phnotype(s).

...

not used.

Author(s)

Beibei Jiang beibei_jiang@psych.mpg.de and Benno Pütz puetz@psych.mpg.de

Examples

1
2
3
phe <- matrix(rnorm(1000), ncol = 2)
colnames(phe) <- c("p1", "p2")
phe.writer(phe)

SimPhe documentation built on May 1, 2019, 9:10 p.m.