| $<-.sleuth | R Documentation | 
Extend internal '$<-' for sleuth object
## S3 replacement method for class 'sleuth' obj$name <- value
: This extension is mainly to address two cases:
 case 1: when transform_fun_counts or
transform_fun_tpmis changed by user. This informs
the user that sleuth_prep and sleuth_fit need
to be rerun.
case 2: when gene_mode or pval_aggregate are modified. This warns the user if there is a conflict between these two mutually exclusive modes, and overrides the one that was left unmodified by the user. This also warns the user if unexpected behavior is likely to occur.
Otherwise it acts normally.
obj$transform_fun_counts <- function(x) log2(x+0.5)