su_plot: Symmetrical Uncertainty diagnostic

Description Usage Arguments Value Examples

View source: R/su_plot.R

Description

This functions runs symmetrical uncertainty for a feature table and a class, returning an histogram of the scores

Usage

1
su_plot(feature_table, target_vector)

Arguments

feature_table

A table of features (observations in rows, variables in columns)

target_vector

A target vector, factor containing classes of the observations. Note: the observations must be in the same order as the parameter x.

Value

Plots an histogram of symmetrical uncertainty values regarding the class.

Examples

1
2
3
4
5
6
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)

lubianat/FCBF documentation built on March 3, 2021, 12:35 a.m.