plotSamples | R Documentation |
Plot panel of specified embeddings, extracting them from pagoda2 objects
plotSamples(
samples,
groups = NULL,
colors = NULL,
gene = NULL,
embedding.type = NULL,
...
)
samples |
list of pagoda2 or Seurat objects |
groups |
vector of cluster labels, names contain cell names (default=NULL) |
colors |
vector of numbers, which must be shown with point colors, names contain cell names (default=NULL). This argument is ignored if groups are provided. |
gene |
gene name (default=NULL). If this parameter is provided, points are colored by expression of this gene. |
embedding.type |
type of embedding (default=NULL). If embedding.type is NULL, this defaults to 'tSNE'. If a matrix is passed, it is interpreted as an actual embedding (then first two columns are interpreted as x/y coordinates, row names must be cell names). |
... |
Arguments passed on to
|
ggplot2 object with the panel of plots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.