Skip to contents

If screened features are from multi-response data, this function allows to adopt different strategies.

Usage

multiresponse_screener(
  screened,
  multi = c("max", "average", "sum", "raw"),
  coef = NULL
)

Arguments

screened

vector or matrix containing the significance for the screened features

multi

what to do when response has multiple output values

max

for each feature, the maximal significance value across responses is kept

average

significances of multiple outputs are averaged to get a single value for each feature

sum

significances of multiple outputs are summed up to get a single value for each feature

raw

for each feature, returns one score for each output

coef

(optional) integer value indicating the response to keep

Value

The significance of the screening test for each feature after the application of the selected strategy.

Author

Alessandro Barberis