| highmlr_screen | R Documentation |
Lightweight filter before the main pipeline (e.g. to drop features with low variance or low marginal association).
highmlr_screen(
data,
time,
status,
features = NULL,
filter = c("variance", "univariate_p", "none"),
keep = 1000L
)
data, time, status, features |
As in [highmlr()]. |
filter |
One of '"variance"', '"univariate_p"', '"none"'. |
keep |
Integer, how many features to retain (default 1000). |
Character vector of retained feature names.
## Not run:
data(srdata)
keep <- highmlr_screen(srdata, "OS", "event",
filter = "variance", keep = 500)
fit <- highmlr(srdata, "OS", "event", features = keep, method = "coxnet")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.