Skip to content

R package assessing co-localization of features in a graph

Notifications You must be signed in to change notification settings

CamaraLab/AdjacencyScore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

install.packages("expm")
devtools::install_github("CamaraLab/AdjacencyScore")
library(AdjacencyScore)

Functions

knn_graph(data, k=5)

Calculates an approximate knn graph using RANN and outputs the adjacency matrix in sparse matrix format.

adjacency_score(adj_matrix, f, f_pairs, c)

Returns the adjacency score, p value, and q value for each pair of features in f_pairs.

About

R package assessing co-localization of features in a graph

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages