verify_and_transform_data: Transform Data (DEPRECATED, FUNCTIONALITY BUILT IN TO AGED.R...

View source: R/verify_and_transform_data.R

verify_and_transform_dataR Documentation

Transform Data (DEPRECATED, FUNCTIONALITY BUILT IN TO AGED.R ARGS)

Description

verify_and_transform_data is a helper function used in multiple core functions to check input, clear low variance and apply log or variance stabilizing transformation.

Usage

verify_and_transform_data(
  data,
  clear_low_variance = FALSE,
  transformation_type = "",
  blind = TRUE
)

Arguments

data

The original data that was plugged into the initial call of AGED

clear_low_variance

A boolean variable that determines whether rows with var < 1 are removed or not. This is done before any type of transformation is performed.

transformation_type

A string variable that determines whether or not a log or VST transformation should be done on the original data. If this argument is used, it should be "vst" or "log" only. If no transformation is to be performed, the default value or any string other than "vst" or "log" can be used.

blind

If a VST is to be done, this boolean value determines whether it is blind or not.

Value

Returns the transformed data.


rmoffitt/aged documentation built on Aug. 11, 2022, 7:07 p.m.