plotsymbolsmap {RaceID} | R Documentation |
Plotting groups as different symbols in a dimensional reduction representation
Description
This functions highlights groups of cells by different symbols in a two-dimensional t-SNE map, UMAP, or a Fruchterman-Rheingold graph layout of the singe-cell transcriptome data.
Usage
plotsymbolsmap(
object,
types,
subset = NULL,
samples_col = NULL,
cex = 0.5,
fr = FALSE,
um = FALSE,
leg = TRUE,
map = TRUE,
cex.legend = 0.75,
leg.pos = "topleft"
)
Arguments
object |
|
types |
Vector assigning each cell to a type to be highlighted in the t-SNE map. The order has to be the same as for the
columns in slot |
subset |
Vector containing a subset of types from |
samples_col |
Vector of colors used for highlighting all samples contained in |
cex |
size of data points. Default value is 0.5. |
fr |
logical. If |
um |
logical. If |
leg |
logical. If |
map |
logical. If |
cex.legend |
Positive real number. Size of data points and text in the legend. Default is 0.75. |
leg.pos |
Position of the legend. a single keyword from the list ‘"bottomright"’, ‘"bottom"’, ‘"bottomleft"’,‘"left"’, ‘"topleft"’, ‘"top"’, ‘"topright"’, ‘"right"’ and‘"center"’. This places the legend on the inside of the plot frame at the given location. |
Value
None