calculate_method {SplicingFactory} | R Documentation |
Calculate diversity values for a matrix of transcripts.
calculate_method(x, genes, method, norm = TRUE, verbose = FALSE)
x |
An input |
genes |
Character vector with equal length to the number of rows of the
input dataset with transcript-level expression values. The values in
|
method |
Method to use for splicing diversity calculation, including
naive entropy ( |
norm |
If |
verbose |
If |
The function calculates diversity values on a matrix of
transcript-level expression values, aggregated by the genes defined in the
genes
parameter.
Gene-level splicing diversity values in a data.frame
, where
each row belongs to a gene and each column belongs to a sample from the
data, in addition to the first column, containing gene names, given in the
'genes' parameter.