get_su {FCBF}R Documentation

Symmetrical Uncertainty diagnostic

Description

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

Usage

get_su(x, y)

Arguments

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.

Value

A dataframe containing the SU values for each feature

Examples

data(scDengue)
exprs <- SummarizedExperiment::assay(scDengue, 'logcounts')
discrete_expression <- as.data.frame(discretize_exprs(exprs))
infection <- SummarizedExperiment::colData(scDengue)
target <- infection$infection
su_values <- get_su(discrete_expression[,],target[])
su_values[1:10,]

[Package FCBF version 1.2.2 Index]