produce post-filter Tasks for mlr3
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),
...
)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.