FID_IID_from_rownames: Recover FID and IID from rownames of the data frame

Description Usage Arguments Value Examples

View source: R/helpers.R

Description

Given a data frame of the phenotype data, recover FID and IID from rownames

Usage

1
FID_IID_from_rownames(pheno_df, sep = "_")

Arguments

pheno_df

A phenotype data frame with rownames

sep

A separater used to concatenate FID and IID

Value

an updated phenotype data drame with FID and IID columns

Examples

1
2
3
4
## Not run: 
FID_IID_from_rownames(pheno_df)

## End(Not run)

rivas-lab/snpnet documentation built on Dec. 14, 2021, 3:22 a.m.