Description Usage Arguments Value
View source: R/network_coexpression.R
Calculate the mRNA or protein coexpression of each pair of genes or proteins in a network, and append this value to the input data frame as an extra column.
1 | network_coexpression(network, expr, col_name = "coexpr", ...)
|
network |
a matrix or data frame, with nodes (genes) in the first two columns |
expr |
a matrix containing mRNA or protein expression data, with genes as columns |
col_name |
the name of the new column to create; defaults to "coexpr" |
... |
further arguments passed directly to the cor function, such as coefficient (e.g., Pearson or Spearman) |
the input network, with an extra column containing the coexpression of each interacting gene or protein pair
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.