datAR: DatAR function

View source: R/datAR.R

datARR Documentation

DatAR function

Description

This function extracts the data matrix m from an original data object. The data matrix m contains the expression values of all the features, as rows, from all the samples, as columns, as ordered for OBIF's input. Hence, the data object "Data" must be specified including the first, "colnum1", and last, "colnum2, column number of the data matrix m within the original data.

Usage

datAR(Data, colnum1, colnum2, n.ctrl, n.facA, n.facB, n.facAB)

Arguments

Data

A data frame containing the original Omics data being studied by OBIF. As minimum components, it must include the data matrix m, and additional columns can include feature names or metadata as needed.

colnum1

A numeric value indicating the column number where the data matrix m starts. That is the column of the first unexposed sample.

colnum2

A numeric value indicating the column number where the data matrix m ends. That is the column of the last combined exposed sample.

n.ctrl

A numeric value indicating the number of columns from the unexposed, control, samples in the data matrix m.

n.facA

A numeric value indicating the number of columns from the single factor A exposed samples in the data matrix m.

n.facB

A numeric value indicating the number of columns from the single factor B exposed samples in the data matrix m.

n.facAB

A numeric value indicating the number of columns from the combined factor A + B exposed samples in the data matrix m.

Value

A data frame containing the unscaled original values of the data matrix m that will be used for analysis


EvansLaboratory/OBIF documentation built on March 29, 2022, 8:38 a.m.