robust_mean: Use a huber type estimator to produce a robust mean

Description Usage Arguments Value Examples

Description

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.

Usage

1

Arguments

x

a numerical vector

Value

a robust mean of a numerical vector

Examples

1
2
3
4
5

b-klaus/DChIPRep documentation built on May 14, 2019, 11:15 a.m.