Skip to contents

See as_rave_project for creating 'RAVE' project class

Value

character vector

true or false whether subject is in the project

A data table of pipeline time-stamps and directories

Super class

ravepipeline::RAVESerializable -> RAVEProject

Active bindings

path

project folder, absolute path

name

project name, character

pipeline_path

path to pipeline scripts under project's folder

format_standard

storage format, can be either 'native' or 'bids'-compliant

@impl

the internal object

Methods

Inherited methods


Method @marshal()

Internal method

Usage

RAVEProject$@marshal(...)

Arguments

...

internal arguments


Method @unmarshal()

Internal method

Usage

RAVEProject$@unmarshal(object, ...)

Arguments

object, ...

internal arguments


Method print()

override print method

Usage

RAVEProject$print(...)

Arguments

...

ignored


Method format()

override format method

Usage

RAVEProject$format(...)

Arguments

...

ignored


Method new()

constructor

Usage

RAVEProject$new(project_name, strict = TRUE, parent_path = NULL)

Arguments

project_name

character

strict

whether to check project path

parent_path

NULL, a path to the project parent folder for native projects, or the path to 'BIDS' root directory.


Method subjects()

get all imported subjects within project

Usage

RAVEProject$subjects()


Method has_subject()

whether a specific subject exists in this project

Usage

RAVEProject$has_subject(subject_code)

Arguments

subject_code

character, subject name


Method group_path()

get group data path for 'rave' module

Usage

RAVEProject$group_path(module_id, must_work = FALSE)

Arguments

module_id

character, 'rave' module ID

must_work

whether the directory must exist; if not exists, should a new one be created?


Method subject_pipelines()

list saved pipelines

Usage

RAVEProject$subject_pipelines(
  pipeline_name,
  cache = FALSE,
  check = TRUE,
  all = FALSE
)

Arguments

pipeline_name

name of the pipeline

cache

whether to use cached registry

check

whether to check if the pipelines exist as directories

all

whether to list all pipelines; default is false; pipelines with the same label but older time-stamps will be hidden


Method clone()

The objects of this class are cloneable with this method.

Usage

RAVEProject$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.