plotMarkers | R Documentation |
This function will plot one group/column of a differential markers as an MA or Volcano plot.
plotMarkers(
seMarker = NULL,
name = NULL,
cutOff = "FDR <= 0.01 & abs(Log2FC) >= 0.5",
plotAs = "Volcano",
scaleTo = 10^4,
rastr = TRUE
)
seMarker |
A |
name |
The name of a column in |
cutOff |
A valid-syntax logical statement that defines which marker features from |
plotAs |
A string indicating whether to plot a volcano plot ("Volcano") or an MA plot ("MA"). |
rastr |
A boolean value that indicates whether the plot should be rasterized using |
#Get Test Project
proj <- getTestProject()
#Get Markers
seMarker <- getMarkerFeatures(
ArchRProj = proj,
useMatrix = "PeakMatrix",
testMethod = "binomial",
binarize = TRUE
)
#Plot Markers
p <- plotMarkers(seMarker, name = "C1")
#PDF
plotPDF(p, name = "Marker-Plot", ArchRProj = proj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.