se_to_filtered_task: produce post-filter Tasks for mlr3

Description Usage Arguments

View source: R/se_mlr3.R

Description

produce post-filter Tasks for mlr3

Usage

1
2
3
4
5
6
7
8
9
se_to_filtered_task(
  taskid,
  se,
  classvar,
  nfeat = 100,
  tmaker = mlr3::TaskClassif,
  filtfun = function(x) flt("variance")$calculate(x, nfeat = nfeat),
  ...
)

Arguments

taskid

character(1) arbitrary label

se

SummarizedExperiment instance

classvar

character(1) optional name of colData element to use for classification

nfeat

numeric(1) number of features to retain

tmaker

a Task as defined in mlr3

filtfun

a function that computes a Filter score in the mlr3filters framework, defaults to the "variance" scoring method

...

passed to 'tmaker$new()' for the filtered task production


vjcitn/edx_adv_bioc documentation built on March 17, 2020, 3:58 p.m.