ViolinPlot | R Documentation |
The "ViolinPlot" map makes plots to show gene expression patterns of the clusters or other factors. The default groups cells into the clusters, but the users can input the factor (column name) of coldata.
ViolinPlot(
object,
colFactor = NULL,
genes = NULL,
legend = TRUE,
trim = TRUE,
Colors = NULL,
Alpha = 0.8,
dots = TRUE,
wid = "area"
)
object |
RISC object: a framework dataset. |
colFactor |
Use the factor (column name) in the coldata to make heatmap, but each time only one column name can be inputted. |
genes |
The gene expression pattern: gene symbol |
legend |
Whether a legend shown at heatmap. |
trim |
Whether trim the violin plot |
Colors |
The users can use their own colors (color vector). The default of the "UMAPlot" funciton will assign colors automatically. |
Alpha |
Whether show transparency of individual points, the default is 0.8. |
dots |
Adding jitter dots to the violin plot. The default is TRUE. |
wid |
The scale format, options: "area", "width", "count". The default: "area" |
Wickham, H. (2016)
Auguie, B. (2015)
# RISC object
obj0 = raw.mat[[3]]
ViolinPlot(obj0, colFactor = 'Group', genes = 'Gene718')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.