Skip to contents

This function filters the input matrix x depending on the features intensity. A variable is kept if value is greater than median across observations in a given percentage of observations defined by threshold. Default is 0.25 (i.e. select variables with values > median in more than 25\

Usage

filter_by_intensity(x, threshold = 0.25, logger)

Arguments

x

the input matrix, where rows are observations and columns are variables.

threshold

the cutoff

logger

a Logger

Value

A Filtered object

Author

Alessandro Barberis