percentile_cor | R Documentation |
This function summarizes expression for each cell type
using percentiles and then calculates Pearson correlations between all possible
transcript pairs in the data set. Internally, the function function calls
percentile_expr
to generate percentile-summarized expression, and
then cor
to compute Pearson correlation
percentile_cor(data, id_table, percentile_no = 10, isoform_col = NULL)
data |
A data.frame or tibble object including isoforms as rows and cells as columns. Isoform IDs can be included as row names (data.frame) or as an additional column (tibble). |
id_table |
A data frame including two columns named |
percentile_no |
Integer indicating the number of percentiles to generate for each of the cell types. Should always be higher than 4 (quantiles) and lower than 100 (percentiles). Defaults to 10. |
isoform_col |
When a tibble is provided in |
A correlation matrix including one column-row pair per isoform
included in data
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.