get_data_info: Fetch the data_info attribute

View source: R/helper_fn.R

get_data_infoR Documentation

Fetch the data_info attribute

Description

Retrieves the values in the data_info attribute from an omicsData object.

Usage

get_data_info(omicsData)

Arguments

omicsData

An object of class pepData, proData, metabData, lipidData, or nmrData.

Value

A list containing seven elements:

  • data_scale – A Character string indicating the scale of the data in e_data.

  • norm_info – A list containing a single element indicating whether the data in e_data have been normalized.

  • num_edata – The number of unique entries present in the edata_cname column in e_data.

  • num_miss_obs – An integer. The number of missing observations in e_data.

  • num_zero_obs – An integer. The number of zeros in e_data for seqData objects.

  • prop_missing – A number between 0 and 1. The proportion of missing observations in e_data.

  • num_samps – An integer indicating the number of samples or columns (excluding the identifier column edata_cname) in e_data.

  • data_types – A character string describing the type of data in e_data.


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