DataFilter$logTen {IdMappingAnalysis} | R Documentation |
Compute log10 of a numerical vector combined with thresholding on minimum value.
## Static method (use this): ## DataFilter$logTen(x, filtParams, ...) ## Don't use the below: ## S3 method for class 'DataFilter' logTen(static, x, filtParams, ...)
x |
|
filtParams |
|
... |
Not used |
clipped log10 of an input numeric
vector
.
Alex Lisovich, Roger Day
For more information see DataFilter
.
#compute log10 transform of mrna experiment data replacing (clipping) #the output values with log10(0.5)for input values < 0.5 fltExperimentSet<-DataFilter$do.apply(examples$mrnaExperimentSet, byRows=TRUE,filterFun=DataFilter$logTen,filtParams=c(0.5,log10(0.5)),verbose=TRUE); #print the number of elements clipped sum(fltExperimentSet[,-1]==log10(0.5))-sum(examples$mrnaExperimentSet[,-1]<=0.5);