powered by
Load a list of subjects from a subjects file, i.e., a simple text file containing one subject name per line.
read.md.subjects(subjects_file, header)
vector of strings, the subject identifiers.
character string, the path to the subjects file.
logical, whether the file starts with a header line.
Other metadata functions: demographics.to.fsgd.file(), read.md.demographics(), report.on.demographics()
demographics.to.fsgd.file()
read.md.demographics()
report.on.demographics()
subjects_file = system.file("extdata", "subjects.txt", package = "fsbrain", mustWork = TRUE); subjects_list = read.md.subjects(subjects_file, header = FALSE);
Run the code above in your browser using DataLab