get_neighbors {BioNERO} | R Documentation |
Get 1st-order neighbors of a given gene or group of genes
get_neighbors(genes, net, cor_threshold = 0.7)
genes |
Character vector containing genes from which direct neighbors will be extracted. |
net |
List object returned by |
cor_threshold |
Correlation threshold to filter connections. As a weighted network is a fully connected graph, a cutoff must be selected. Default is 0.7. |
List containing 1st-order neighbors for each input gene.
Fabricio Almeida-Silva
exp2gcn
SFT_fit
data(filt.se) genes <- rownames(filt.se)[1:10] gcn <- exp2gcn(filt.se, SFTpower = 18, cor_method = "pearson") neighbors <- get_neighbors(genes, gcn)