The class is for creating child classes, to instantiate the class,
please use prepare_subject_bare0 to create base repository.
The root directory where the files are stored.
ravepipeline::RAVESerializable -> RAVESubjectRepository
@restoredinternal flag indicating whether the repository is restored from serialization. Repositories restored from serialization will behave differently (slightly) for performance considerations
repository_idrepository identifier, typically generated with random string
quietwhether to suppress update warning messages, when requested electrodes are not fully processed or excluded
auto_excludewhether to automatically discard channels that are marked as "excluded" (such as bad channels or channels that should not be analyzed); default is often true
needs_updatewrite-only attribute when subject needs to be
reloaded from the disk and reference table needs to be updated, use
repo$needs_update <- TRUE
projectproject instance, see RAVEProject
subjectsubject instance, see RAVESubject
electrode_listinteger vector of electrodes included
electrode_tablethe entire electrode table
electrode_signal_typesmore accurate name should be "channel"
signal types: currently returns 'LFP', 'Auxiliary', or
'Spike', for each channel
electrode_instanceselectrode channel instance helpers for loading electrode data
reference_namename of reference table
reference_tablereference table
references_lista vector of reference channel names, used together
with reference_instances
reference_instancesinstances of reference channels, for
referencing on the fly, used for electrode_instances
digest_keya list of repository data used to generate repository signature
signaturesignature of the repository, two repositories might
share the same signature if their contents are the same (even with
different identifiers); generated from digest_key
Inherited methods
@get_container()Internal method, do not use it directly
RAVESubjectBaseRepository$@get_container()
@marshal()Internal method
RAVESubjectBaseRepository$@marshal(...)...internal arguments
@unmarshal()Internal method
RAVESubjectBaseRepository$@unmarshal(object, ...)object, ...internal arguments
new()constructor
RAVESubjectBaseRepository$new(
subject,
electrodes = NULL,
reference_name = NULL,
...,
auto_exclude = TRUE,
quiet = TRUE,
repository_id = NULL,
strict = TRUE,
.class = NULL
)subject'RAVE' subject
electrodesstring or integers indicating electrodes to load
reference_namename of the reference table
...reserved, currently ignored
auto_excludewhether to automatically discard bad channels
quietsee field quiet
repository_idsee field repository_id
strictwhether the mode should be strict; default is true and errors out when subject is missing
.classinternally used, do not set, even if you know what this is
export_matlab()Export the repository to 'Matlab' for future analysis
RAVESubjectBaseRepository$export_matlab(..., verbose = TRUE)...reserved for child classes
verboseprint progresses
clone()The objects of this class are cloneable with this method.
RAVESubjectBaseRepository$clone(deep = FALSE)deepWhether to make a deep clone.
prepare_subject_bare0