Learn R Programming

sleuth (version 0.29.0)

transform_fun<-: Change sleuth transform function

Description

Replace the transformation function of a sleuth object

Usage

transform_fun(obj, fxn) <- value

Arguments

Details

NOTE: if you change the transformation function after having done a fit, the fit(s) will have to be redone using the new transformation.

Examples

Run this code
# NOT RUN {
transform_fun(x) <- function(x) log2(x+0.5)
# }

Run the code above in your browser using DataLab