The class is for creating child classes, to instantiate the class,
please use prepare_subject_bare0 to create base repository.
Super class
ravepipeline::RAVESerializable -> RAVESubjectRepository
Public fields
@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
Active bindings
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 <- TRUEprojectproject instance, see
RAVEProjectsubjectsubject instance, see
RAVESubjectelectrode_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 channelelectrode_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_instancesreference_instancesinstances of reference channels, for referencing on the fly, used for
electrode_instancesdigest_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
Methods
Inherited methods
Method new()
constructor
Usage
RAVESubjectBaseRepository$new(
subject,
electrodes = NULL,
reference_name = NULL,
...,
auto_exclude = TRUE,
quiet = TRUE,
repository_id = NULL,
strict = TRUE,
.class = NULL
)Arguments
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
quietrepository_idsee field
repository_idstrictwhether 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