50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

pmartR (version 2.4.6)

set_data_info: 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
)

Value

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

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