extract-mass_dataset: Extract expression_data from mass_dataset

extract_expression_dataR Documentation

Extract expression_data from mass_dataset

Description

Extract expression_data from mass_dataset

Extract sample information.

Extract variable information.

Extract variable information.

Extract variable information note.

Extract sample information note.

Extract process information

Extract ms2 data

Usage

extract_expression_data(object)

extract_sample_info(object)

extract_variable_info(object)

extract_annotation_table(object)

extract_variable_info_note(object)

extract_sample_info_note(object)

extract_process_info(object)

extract_ms2_data(object)

## S4 method for signature 'mass_dataset'
sample_info(object)

## S4 method for signature 'mass_dataset'
expression_data(object)

## S4 method for signature 'mass_dataset'
variable_info(object)

## S4 method for signature 'mass_dataset'
process_info(object)

## S4 method for signature 'mass_dataset'
ms2_data(object)

## S4 method for signature 'mass_dataset'
sample_info_note(object)

## S4 method for signature 'mass_dataset'
variable_info_note(object)

## S4 method for signature 'mass_dataset'
annotation_table(object)

Arguments

object

(required) mass_dataset class object

Value

A data frame (expression_data).

A data frame (sample_info).

A data frame (variable_info).

A data frame (annotation_table).

A data frame (variable_info_note).

A data frame (sample_info_note).

A list of tidymass_parameter.

A ms2_data class object.

A data.frame (sample_info)

A data.frame (expression_data)

A data.frame (variable_info)

A list of tidymass_parameter class objects

A ms2_data class object.

A data.frame (sample_info_note)

A data.frame (variable_info_note)

A data.frame (annotation_table)

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,
    variable_info = variable_info,
    sample_info = sample_info
  )
 expression_data2 =
 extract_expression_data(object = object)
 head(expression_data2)
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,
  )
 sample_info2 =
 extract_sample_info(object = object)
 head(sample_info2)
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,
  )
 variable_info2 =
 extract_variable_info(object = object)
 head(variable_info2)
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,
  )
 annotation_table =
 extract_annotation_table(object = object)
 head(annotation_table)
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,
  )
 test =
 extract_variable_info_note(object = object)
 head(test)
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,
  )
 test =
 extract_sample_info_note(object = object)
 head(test)
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
extract_process_info(object)
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,
  )
 test =
 extract_ms2_data(object = object)

tidymass/massdataset documentation built on Sept. 24, 2022, 8:32 p.m.