adni.mergewithfreesurferoutput: ADNI Merge With 'Freesurfer' Output

Description Usage Arguments Value Author(s) Examples

View source: R/rsurfer.R

Description

Merges the (baseline) Diagnosis, Age, Gender and MMSE for ADNI subjects with the post-processed 'Freesurfer' data, note that the rownames of the input data frame must be the Subject IDs i.e. 141_S_4232 of the ADNI database

Usage

1

Arguments

df

The data frame of data imported using fsimport()

Value

The input data frame merged with Age, Gender, Diagnosis and MMSE

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)
adni.setfiles("DXSUM_PDXCONV_ADNIALL.csv", "ADNIMERGE.csv")
df <- adni.mergewithfreesurferoutput(df)

## End(Not run)

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