Take the mean of a correlation matrix all_cor
of the cell
types or features along its column
1 2 3 4 5 6 7 8 9 10 11 | cell_violin(
all_cor,
metadata,
feature,
column_scale = T,
row_scale = F,
num_col = 1,
box_plot = F,
AP = list(),
legend_col = 1
)
|
all_cor |
correlation matrix, with both colnames and rownmaes |
metadata |
the metadata for the items in the correlation matrix, does
not need to be in the exact order or shape, but its rownames should match
the rownames and colnames of |
feature |
cluster by which feature in the metadata |
column_scale |
zero the mean across columns, make standard deviation 1 |
num_col |
number of columns in which the facets of the subplots will be arranged |
AP |
aesthetic parameters, |
legend_col |
in how many columns the legend should be |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.