import_from_list: Imports Time Series or Confound Files from the list created...

Description Usage Arguments Value Author(s) Examples

Description

This function loads the files into the global environment as a list of matrices. The function expects each file to be in a .csv or .txt format.

Usage

1
import_from_list(file.list, header, sep = "", matrix = TRUE)

Arguments

file.list

The list of files.

header

Are the cells in the top row of the spreadsheet colum names? Must be TRUE or FALSE.

sep

The separator used to separate entries. Defaults to "" since this is the output format from fsl.

matrix

Should the data be imported directly to a matrix? Defaults to TRUE.

Value

The time series matrix or confound matrix for each subject.

Author(s)

Brandon Vaughan

Examples

1
2
3
ts = import_from_list(ts_file_locations, header=TRUE)

confounds = import_from_list(confound_file_locations, header=FALSE)

abnormally-distributed/rsfcNet documentation built on March 8, 2020, 5:32 p.m.