View source: R/marginal_activity.R
calculate_marginal_activity | R Documentation |
Calculates the marginal activities between every two combinations of the input signatures. Marginal activity is defined as the activity of a signature after removing genes that it overlaps with another signature.
calculate_marginal_activity(input_data, selected_signatures, model)
input_data |
a data.frame with gene IDs in the first column and expression values from the second column. |
selected_signatures |
a vector storing names of selected signatures |
model |
an ADAGE model to extract signatures from |
a data.frame storing marginal activities for the input samples. Its rownames is set as "signature1-signature2", indicating a marginal activity for signature1 after removing the effect of signature2. If rowname is "signature1-signature1", then it's the activity of signature1 itself.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.