rm_cv_outliers: Remove outliers based on the coefficient of variation

View source: R/rm_cv_outliers.R

rm_cv_outliersR Documentation

Remove outliers based on the coefficient of variation

Description

Compute the coefficient of variation for each gene/bin and remove the ones with the highest values, either based on a quantile or SD-based threshold. The genes/bins that satisfy both quantile and SD-based thresholds are removed.

Usage

rm_cv_outliers(ge_df, ol_quant_th = 0.99, ol_sd_th = 5)

Arguments

ge_df

the expression data.frame.

ol_quant_th

the quantile threshold. Default is 0.99 (removes the top 1% with highest values).

ol_sd_th

the SD-based treshold. Default is 5.

Value

a subset of the ge_df data.frame

Author(s)

Jean Monlong


jmonlong/scCNAutils documentation built on May 3, 2022, 4:34 a.m.