update_fam: Update plink fam file affection column with specified...

Description Usage Arguments Author(s)

View source: R/update_fam.R

Description

Update plink fam file affection column with specified phenotype/affection.

Usage

1
2
update_fam(fam = NULL, pheno_df = NULL, fid_col = NULL,
  iid_col = NULL, pheno_col = NULL)

Arguments

fam

The plink fam file read into R as a data.frame

pheno_df

The data.frame containing the sample ids and phenotypes

fid_col

The column name in pheno_df containing the FIDs

iid_col

The column name in pheno_df containing the IIDs

pheno_col

The column name in pheno_df containing the phenotypes to put into the fam file

Author(s)

Murray Cadzow


MerrimanLab/merrimanR documentation built on Aug. 7, 2019, 8:18 a.m.