Description Usage Arguments Value Author(s) See Also Examples
Perform minimum count based thresholding of an input vector.
1 2 3 4 5 6 | ## Static method (use this):
## DataFilter$minCountConstraint(x, filtParams, ...)
## Don't use the below:
## S3 method for class 'DataFilter'
minCountConstraint(static, x, filtParams, ...)
|
x |
|
filtParams |
|
... |
Not used |
numeric
vector
or vector
of NA
's depending on thresholding criteria.
Alex Lisovich, Roger Day
For more information see DataFilter
.
1 2 3 4 5 6 7 | #set to NA protein count rows which contain less than 50 percent of counts >=2
fltExperimentSet<-DataFilter$do.apply(examples$msmsExperimentSet,
byRows=TRUE,filterFun=DataFilter$minCountConstraint,filtParams=c(2,0.5),verbose=TRUE);
#print the number of rows set to NA
sum(is.na(rowSums(fltExperimentSet[,-1])))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.