logTen.DataFilter: Compute log10 of a numerical vector combined with...

Description Usage Arguments Value Author(s) See Also Examples

Description

Compute log10 of a numerical vector combined with thresholding on minimum value.

Usage

1
2
3
4
5
6
## Static method (use this):
## DataFilter$logTen(x, filtParams, ...)

## Don't use the below:
## S3 method for class 'DataFilter'
logTen(static, x, filtParams, ...)

Arguments

x

numeric input vector.

filtParams

vector of constraint parameters. If a particular output element is less or equal than filtParams[1] it is assigned the filtParams[2] value.

...

Not used

Value

clipped log10 of an input numeric vector.

Author(s)

Alex Lisovich, Roger Day

See Also

For more information see DataFilter.

Examples

1
2
3
4
5
6
7
8
 #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);
 

IdMappingAnalysis documentation built on Oct. 31, 2019, 3:30 a.m.