cosineSim:
Compute cosine similarities or distances between pairs of genes
Description
This function compute cosine similarities or distances between pairs of
genes, given measured rich phenotypes.
Usage
cosineSim(x)
cosineDist(x)
Arguments
x
a numeric matrix of rich phenotypes with rows and columns specifying
samples and genes, respectively.
Value
This function will return either a numeric matrix of cosine similarities
or an object of dist.
References
Xin Wang, Mauro Castro, Klaas W. Mulder and Florian Markowetz, Posterior
association networks and enriched functional gene modules inferred from
rich phenotypic perturbation screens, in preparation.