set_data_info: Functions to set omicsData attributes ———-

View source: R/helper_fn.R

set_data_infoR Documentation

Functions to set omicsData attributes —————————————-

Description

Create a set function that will return the value for each attribute. For example, set_data_info will perform all of the calculations to fill in the data_info attribute. These functions will be called in the as.xxx functions to create an xxxData object but can be used individually to update any one of the attributes at a later time. Sets/updates the values in the data_info attribute

Usage

set_data_info(
  e_data,
  edata_cname,
  data_scale_orig,
  data_scale,
  data_types,
  norm_info,
  is_normalized,
  batch_info,
  is_bc
)

Arguments

e_data, edata_cname, data_scale_orig, data_scale, data_types, norm_info, is_normalized, batch_info, is_bc

See the as.omicsData functions, e.g. as.lipidData

Value

A list of edited data_info to replace the attribute in the omicsData object.


pmartR/pmartR documentation built on April 24, 2024, 10:22 p.m.