check_object_class: check_object_class

View source: R/data_checking.R

check_object_classR Documentation

check_object_class

Description

Check if one object is one specific class.

Usage

check_object_class(
  object,
  class = c("mass_dataset", "tidymass_parameter", "databaseClass", "metIdentifyClass",
    "ms2_data")
)

Arguments

object

object

class

object should be what class

Value

Notice of data checking.

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,
  )
check_object_class(object, "mass_dataset")

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