Description Usage Arguments Value Examples
This function expects a data frame df
, as returned by the function
paired_sine_analysis
, i.e., containing the scores
(-log10(ε_{1,2}^2)) for each gene pair. The resulting matrix is
a wide format of the gene-pairs scores (originally in long format in
df
).
1 | score_matrix(df, gene_1 = "gene_1", gene_2 = "gene_2", score = "score")
|
df |
A data frame as returned by
|
gene_1 |
Name of the column containing the names of the first gene in
the gene pair (default is |
gene_2 |
Name of the column containing the names of the second gene in
the gene pair (default is |
score |
Name of the column containing the scores (default is
|
A symmetric matrix of gene pair scores (-log10(ε_{1,2}^2)). Column and row names are the gene names in alphabetical order.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.