hack_class | R Documentation |
hack_class()
is supposed to be used in combination after hack_sig()
in
order to classify your samples in one of two or more signature classes.
hack_class(sig_data, cutoff = "original")
sig_data |
A tibble result of a call to |
cutoff |
A character specifying which function to use to categorize samples by signature scores. Can be one of:
|
A tibble with the same dimension as sig_data
, a column sample_id
indicating sample identifiers and one column for each input signature giving
signature classes.
hack_sig()
library(dplyr) hack_sig(test_expr, "immune") %>% hack_class()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.