View source: R/gcn_inference.R
get_neighbors | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.