View source: R/VisualizeData.R
plotPDF | R Documentation |
This function will save a plot or set of plots as a PDF file in the outputDirectory of a given ArchRProject.
plotPDF(
...,
name = "Plot",
width = 6,
height = 6,
ArchRProj = NULL,
addDOC = TRUE,
useDingbats = FALSE,
plotList = NULL
)
... |
vector of plots to be plotted (if input is a list use plotList instead) |
name |
The file name to be used for the output PDF file. |
width |
The width in inches to be used for the output PDF file. |
height |
The height in inches to be used for the output PDF. |
ArchRProj |
An |
addDOC |
A boolean variable that determines whether to add the date of creation to the end of the PDF file name. This is useful for preventing overwritting of old plots. |
useDingbats |
A boolean variable that determines wheter to use dingbats characters for plotting points. |
plotList |
A |
#Get Test Project
proj <- getTestProject()
#Plot UMAP
p <- plotEmbedding(proj, name = "Clusters")
#PDF
plotPDF(p, name = "UMAP-Clusters", ArchRProj = proj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.