su_plot {FCBF} | R Documentation |
This functions runs symmetrical uncertainty for a feature table and a class, returning an histogram of the scores
su_plot(x, y)
x |
A table of features (observations in rows, variables in columns) |
y |
A target vector, factor containing classes of the observations. Note: the observations must be in the same order as the parameter x. |
Plots an histogram of symmetrical uncertainty values regarding the class.
data(scDengue) exprs <- SummarizedExperiment::assay(scDengue, 'logcounts') discrete_expression <- as.data.frame(discretize_exprs(exprs)) infection <- SummarizedExperiment::colData(scDengue) target <- infection$infection su_plot(discrete_expression,target)