getTopNodes | R Documentation |
GRN
Retrieve top Nodes in the filtered GRN
getTopNodes(GRN, nodeType, rankType, n = 0.1, use_TF_gene_network = TRUE)
GRN |
Object of class |
nodeType |
Character. One of: |
rankType |
Character. One of: |
n |
Numeric. Default 0.1. If this parameter is passed as a value between (0,1), it is treated as a percentage of top nodes. If the value is passed as an integer it will be treated as the number of top nodes. |
use_TF_gene_network |
|
A dataframe with the node names and the corresponding scores used to rank them
# See the Workflow vignette on the GRaNIE website for examples GRN = loadExampleObject() topGenes = getTopNodes(GRN, nodeType = "gene", rankType = "degree", n = 3) topTFs = getTopNodes(GRN, nodeType = "TF", rankType = "EV", n = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.