Description Usage Arguments Value Examples
View source: R/plottingFunctions.R
This function uses a Huber type estimator as implemented in the function
smhuber
from the package
https://cran.r-project.org/web/packages/smoothmest/smoothmest.
This is used to summarize the profiles across replicates.
We provide a wrapper around the original function that catches the case that
we want to produce a mean of a single value. It is used in the functions plotProfiles
and plotSignificance
.
1 | robust_mean(x)
|
x |
a numerical vector |
a robust mean of a numerical vector
1 2 3 4 5 | data(testData)
robust_mean(counts(testData[, 1]))
x <- rcauchy(10)
robust_mean(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.