get_sig_deggs {multiDEGGs}R Documentation

Get a table of all the significant interactions across categories

Description

Get a table of all the significant interactions across categories

Usage

get_sig_deggs(deggs_object, assayDataName = 1, sig_threshold = 0.05)

Arguments

deggs_object

an object of class deggs generated by get_diffNetworks

assayDataName

name of the assayData of interest. If an unnamed list of data was given to get_diffNetworks, assayDataName here will be the number corresponding to the position of the data in the assayDataList provided before (i.e. if transcriptomic data was second in the list, a list of all its differential interactions can be obtained with assayDataName = 2, if only one data table was provided assayDataName must be 1). Default 1.

sig_threshold

threshold for significance. Default 0.05.

Value

a data.frame listing all the significant differential interactions found across categories for that particular omic data. This list can also be used to substitute or integrate feature selection in machine learning models for the prediction of the categories (see vignette).

Examples

data("synthetic_metadata")
data("synthetic_rnaseqData")
deggs_object <- get_diffNetworks(assayData = synthetic_rnaseqData,
                                 metadata = synthetic_metadata,
                                 category_variable = "response",
                                 verbose = FALSE,
                                 show_progressBar = FALSE,
                                 cores = 2)
get_sig_deggs(deggs_object, sig_threshold = 0.05) 

[Package multiDEGGs version 1.0.0 Index]