View source: R/difference_functions.R
calculate_fc | R Documentation |
Calculate splicing diversity changes between two conditions.
calculate_fc(x, samples, control, method = "mean")
x |
A |
samples |
Character vector with an equal length to the number of columns in the input dataset, specifying the category of each sample. |
control |
Name of the control sample category, defined in the
|
method |
Method to use for calculating the average splicing diversity
value in a condition. Can be |
The function uses a matrix of splicing diversity values in order to calculate mean or median differences and log2 fold changes between two conditions.
A data.frame
with mean or median value of splicing diversity
across sample categories, the difference between these values and the log2
fold change values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.