Get any attribute from a CSNObject object
get_attribute(object, ...)
# S4 method for class 'CSNObject'
get_attribute(
object,
celltypes = NULL,
active_network = NULL,
attribute = c("genes", "tfs", "peaks", "regulators", "targets", "celltypes", "cells",
"modules", "coefficients"),
...
)
A CSNObject object
Additional arguments
A character vector specifying the celltypes to get attributes for.
If NULL
, all celltypes are returned.
A character string specifying the active network to get attributes for.
A character string specifying the attribute to get. This can take any of the following choices:
The original gene without any filtering.
The original transcription factors without any filtering.
The original peaks without any filtering.
The regulators of the network after inference CSN.
The targets of the network after inference CSN.
The cells of the network.
The modules of the network.
The coefficients of the network.
A character vector of regulatory genes