activate_mass_dataset: activate_mass_dataset

View source: R/activate_mass_dataset.R

activate_mass_datasetR Documentation

activate_mass_dataset

Description

Determine the context of subsequent manipulations

Usage

activate_mass_dataset(
  .data,
  what = c("sample_info", "variable_info", "expression_data", "annotation_table")
)

Arguments

.data

(required) A mass_dataset class object

what

(required) What should get be activated? Possible values are sample_info, expression_data, variable_info, or annotation_table

Value

A mass_dataset class object

Author(s)

Xiaotao Shen shenxt1990@outlook.com

Examples

data("expression_data")
data("sample_info")
data("variable_info")

object =
  create_mass_dataset(
    expression_data = expression_data,
    sample_info = sample_info,
    variable_info = variable_info
  )
object
object@activated
object =
  activate_mass_dataset(.data = object, what = "sample_info")
object@activated

tidymass/massdataset documentation built on Oct. 17, 2022, 7:25 a.m.