caddementia.mergewithfreesurferoutput: CAD Dementia Merge With 'Freesurfer' Output

Description Usage Arguments Details Value Author(s) Examples

View source: R/rsurfer.R

Description

Merges the Diagnosis, Age, and Gender for CAD Dementia subjects with the post-processed 'Freesurfer' data, note that the rownames of the input data frame must be the Subject IDs i.e. train_vumc_011 of the CAD Dementia data

Usage

1

Arguments

df

The data frame of data imported using fsimport()

Details

Test data Diagnoses are returned as NAs

Value

The input data frame merged with Age, Gender and Diagnosis

Author(s)

Alexander Luke Spedding, alexspedding271@gmail.com

Examples

1
2
3
4
5
6
7
## Not run: 
setfshome("/Applications/freesurfer")
df <- fsimport.serialise("~/CADDementiaSubjects/", "~/CADSubjects.rds", verbose = T)
caddementia.setfiles("train.txt", "test.txt")
df <- caddementia.mergewithfreesurferoutput(df)

## End(Not run)

rsurfer documentation built on May 2, 2019, 4:20 a.m.