Description Usage Arguments Details Value Author(s) See Also Examples
expr_dist
calculates the pairwise distance of gene expression profiles.
1 | expr_dist(gene1, gene2, profiles)
|
gene1 |
Character, HGNC symbol of the first gene. |
gene2 |
Character, HGNC sysmbol of the second gene |
profiles |
Matrix of expression profiles, generated by calling
|
Similarity between 2 expression profiles is calculated by taking the absolute value of the Spearman correlation. Spearman correlation is used because we do not care whether the correlation is linear. Absolute value ensures that both strong positive and negative correlations result in high similarity. Distance is then taken as 1 - similarity. Distance is returned as 1 (maximum possible) if the expression profile for either gene is unavailable.
Numeric, distance score.
Rachel Silverstein (aut)
See fetchData
for the format of expression profiles used by
this function.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.