dotplotByMetadata | R Documentation |
Present a dot plot of selected genes in the specified populations in the column argument by the ones in the column2 argument and save to file. The dot size represents the percentage of cells expressing the indicated genes in each cluster and the dot color intensity represents the average expression level of the indicated genes.
dotplotByMetadata( object, assay.type = "RNA", genes.use, column = "population", column2, thr, order, order2, cols ) ## S4 method for signature 'CellRouter' dotplotByMetadata( object, assay.type, genes.use, column, column2, thr, order, cols )
object |
CellRouter object. |
assay.type |
character; the type of data to use. |
genes.use |
character vector; genes to show. |
column |
character; column name in cellrouter@sampTab indicating the population. |
column2 |
character; column name in cellrouter@sampTab indicating the groups that the population form column belongs. |
thr |
numeric; threshold. |
order |
character vector; ordered populations from column to be considered. |
order2 |
character vector; ordered populations from column2 to be considered. |
cols |
numeric; number of columns in the output figure. |
ggplot2; plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.