verify_data_info: Verifies some basic attributes of an omicsData object....

Description Usage Arguments Details Value Examples

View source: R/verify_data_info.R

Description

Verifies some basic attributes of an omicsData object. Intended use is in testing scripts and internally within some functions.

Usage

1
verify_data_info(omicsData)

Arguments

omicsData

an object of the class 'pepData', 'proData', 'metabData', 'lipidData', or 'nmrData' created by as.pepData, as.proData, as.metabData, as.lipidData, or as.nmrData, respectively.

Details

This function will invisibly return TRUE or FALSE depending on whether or not the objects contents are consistent with its attributes. If FALSE, there will also be a print output of which values are inconsistent.

Value

TRUE if the object is consistent for certain parts of the object. FALSE otherwise.

Examples

1
2
3
4
5
dontrun{
library(pmartRdata)
data(pep_edata)
bool_val <- verify_data_info(pep_edata)
}

pmartR/pmartR documentation built on March 8, 2021, 3:13 p.m.