R6 Class representing a MultiAssayExperiment
object with its attributes
MAETealDataset.Rd
Any MultiAssayExperiment
object can be stored inside this MAETealDataset
.
Some attributes like colnames, dimension or column names for a specific type will
be automatically derived.
Super class
teal.data::TealDataset
-> MAETealDataset
Methods
Inherited methods
teal.data::TealDataset$get_attrs()
teal.data::TealDataset$get_character_colnames()
teal.data::TealDataset$get_code()
teal.data::TealDataset$get_code_class()
teal.data::TealDataset$get_dataname()
teal.data::TealDataset$get_datanames()
teal.data::TealDataset$get_dataset()
teal.data::TealDataset$get_dataset_label()
teal.data::TealDataset$get_factor_colnames()
teal.data::TealDataset$get_keys()
teal.data::TealDataset$get_metadata()
teal.data::TealDataset$get_mutate_code_class()
teal.data::TealDataset$get_mutate_vars()
teal.data::TealDataset$get_numeric_colnames()
teal.data::TealDataset$get_raw_data()
teal.data::TealDataset$get_row_labels()
teal.data::TealDataset$get_var_r6()
teal.data::TealDataset$get_vars()
teal.data::TealDataset$is_mutate_delayed()
teal.data::TealDataset$is_pulled()
teal.data::TealDataset$mutate()
teal.data::TealDataset$reassign_datasets_vars()
teal.data::TealDataset$recreate()
teal.data::TealDataset$set_code()
teal.data::TealDataset$set_dataset_label()
teal.data::TealDataset$set_keys()
teal.data::TealDataset$set_vars()
Method new()
Create a new object of MAETealDataset
class
Usage
MAETealDataset$new(
dataname,
x,
keys = character(0),
code = character(0),
label = character(0),
vars = list(),
metadata = NULL
)
Arguments
dataname
(
character
)
A given name for the dataset it may not contain spacesx
(
MultiAssayExperiment
)keys
optional, (
character
)
A vector of primary keyscode
(
character
orCodeClass
)
A character string defining the code needed to produce the data set inx
.initialize()
andrecreate()
accept code asCodeClass
which is also needed to preserve the code uniqueness and correct order.label
(
character
)
Label to describe the datasetvars
(named
list
))
In case when this object code depends on otherTealDataset
object(s) or other constant value, this/these object(s) should be included as named element(s) of the list. For example if this object code needsADSL
object we should specifyvars = list(ADSL = <adsl object>)
. It is recommended to includeTealDataset
orTealDatasetConnector
objects to thevars
list to preserve reproducibility. Please note thatvars
are included to this object as localvars
and they cannot be modified within another dataset.metadata
(named
list
orNULL
)
Field containing metadata about the dataset. Each element of the list should be atomic and of length one.
Method check()
Check to determine if the raw data is reproducible from the get_code()
code.
Returns
TRUE
if the dataset generated from evaluating the
get_code()
code is identical to the raw data, else FALSE
.
Method check_keys()
Check if keys has been specified correctly for dataset. Set of keys
should distinguish unique rows or be character(0)
.
Method print()
Prints this MAETealDataset
.