Most computation for handling outliers happens in matrixStats::rowQuantiles(). This function is solidly written in R, but could be faster if implemented in C and/or if it made use of parallel processing.
WGCNA has a C implementation but would rather not take on all WGCNA dependencies!
e.g.
iqr.trim<-function(methylation, iqr.limit=3) {
find outlying observations more extreme that the iqr.limit
Most computation for handling outliers happens in matrixStats::rowQuantiles(). This function is solidly written in R, but could be faster if implemented in C and/or if it made use of parallel processing.
WGCNA has a C implementation but would rather not take on all WGCNA dependencies!
e.g. iqr.trim<-function(methylation, iqr.limit=3) {
find outlying observations more extreme that the iqr.limit
}