export.forKNIME: Export Data For KNIME

Description Usage Arguments Author(s) Examples

View source: R/rsurfer.R

Description

Exports the 'Freesurfer' imported data frame to a CSV readable by the software KNIME, it will assign two extra rows to the input dataframe: field_group_1 which classifies the columns as S = hippocampal, subcortical, corticalthicknessstds, corticalareas, corticalthicknesses, corticalvolumes field_group_2 which classifies the columns as S = volume, area, thickness, thicknessstd And the data for the columns will be in folder/field_group_*/S.csv

Usage

1
2
export.forKNIME(df, folder, additionalFields = c("Gender", "Age",
  "Diagnosis"))

Arguments

df

The data frame to export

folder

The folder to export to

additionalFields

Vector of column names which should be added to each individual file created

Author(s)

Alexander Luke Spedding, alexspedding271@gmail.com

Examples

1
2
3
4
## Not run: 
export.forKNIME(df, "/Users/alex/KNIMEData/", c("Age","MMSE"))

## End(Not run)

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