View source: R/plotEmbedding.R
function to plot Embedding
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | MyplotEmbedding(
seurat = NULL,
assay = "RNA",
embedding = "UMAP",
colorBy = "metadata",
name = "Sample",
imputeWeights = NULL,
pal = NULL,
size = 0.1,
sampleCells = NULL,
highlightCells = NULL,
rastr = TRUE,
quantCut = c(0.01, 0.99),
discreteSet = NULL,
continuousSet = NULL,
randomize = TRUE,
keepAxis = FALSE,
baseSize = 10,
plotAs = NULL,
labelSize = 0,
...
)
|
seurat |
an seurat object. |
assay |
which assay to use. |
embedding |
which embedding to use plot. |
colorBy |
'meta.data' or 'matrix'. |
name |
which column use for color by ,column in 'meta.data' or feature in matrix |
imputeWeights |
provide imputeWeights ... |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.