Main haystack functions |
|
---|---|
The main Haystack function |
|
The main Haystack function, for 2-dimensional spaces. |
|
The main Haystack function, for higher-dimensional spaces. |
|
The main Haystack function, for higher-dimensional spaces and continuous expression levels. |
|
show_result_haystack |
|
Visualization functions |
|
Visualizing the detection/expression of a gene in a 2D plot |
|
Visualizing the detection/expression of a gene in a 2D plot |
|
Visualizing the detection/expression of a set of genes in a 2D plot |
|
Visualizing the detection/expression of a set of genes in a 2D plot |
|
plot_rand_fit |
|
Clustering functions |
|
Function for hierarchical clustering of genes according to their expression distribution in 2D or multi-dimensional space |
|
Function for hierarchical clustering of genes according to their distribution in a higher-dimensional space. |
|
Function for hierarchical clustering of genes according to their distribution on a 2D plot. |
|
Function for k-means clustering of genes according to their expression distribution in 2D or multi-dimensional space |
|
Function for k-means clustering of genes according to their distribution in a higher-dimensional space. |
|
Function for k-means clustering of genes according to their distribution on a 2D plot. |
|
IO functions |
|
Function to read haystack results from file. |
|
Function to write haystack result data to file. |
|
Toy example data |
|
Single cell RNA-seq dataset. |
|
Single cell tSNE coordingates. |
|
Background functions |
|
Default function given by function bandwidth.nrd in MASS. No changes were made to this function. |
|
Returns a row of a sparse matrix of class dgRMatrix. Function made by Ben Bolker and Ott Toomet (see https://stackoverflow.com/questions/47997184/) |
|
Returns a row of a sparse matrix of class lgRMatrix. Function made by Ben Bolker and Ott Toomet (see https://stackoverflow.com/questions/47997184/) |
|
Calculates the Kullback-Leibler divergence between distributions. |
|
Calculates the Kullback-Leibler divergence between distributions for the high-dimensional version of haystack(). |
|
Calculates the Kullback-Leibler divergence between distributions for the high-dimensional continuous version of haystack. |
|
Function to get the density of points with value TRUE in the (x,y) plot |
|
Calculate the pairwise Euclidean distances between the rows of 2 matrices. |
|
Calculate the Euclidean distance between x and y. |
|
A function to decide grid points in a higher-dimensional space |
|
Estimates the significance of the observed Kullback-Leibler divergence by comparing to randomizations. |
|
Estimates the significance of the observed Kullback-Leibler divergence by comparing to randomizations for the continuous version of haystack. |
|
Function that decides most of the parameters that will be used during the "Haystack" analysis. |
|
Get reference distribution |
|
Based on the MASS kde2d() function, but heavily simplified; it's just tcrossprod() now. |
|
Development |
|
plot_compare_ranks |
|
plot_rand_KLD |