shift_data: Add a shift for log transformations

Description Usage Arguments Details Value Author(s)

Description

Adds a defined amount to all values in a dataset to correct for zeroes in a dataset

Usage

1
shift_data(omicsData, shift = 0.5)

Arguments

shift

Numeric value to use for the data shift.

Details

This function shifts an rRNA dataset before log transforming, so that all 0's are removed.

Value

omicsData object with the e_data abundances shifted.

Author(s)

Allison Thompson


pmartR/pmartRmems documentation built on May 29, 2019, 4:52 p.m.