View source: R/VisualizeData.R
plotGroups | R Documentation |
This function will group, summarize and then plot data from an ArchRProject for visual comparison.
plotGroups( ArchRProj = NULL, groupBy = "Sample", colorBy = "colData", name = "TSSEnrichment", imputeWeights = if (!grepl("coldata", tolower(colorBy[1]))) getImputeWeights(ArchRProj), maxCells = 1000, quantCut = c(0.002, 0.998), log2Norm = NULL, pal = NULL, discreteSet = "stallion", ylim = NULL, size = 0.5, baseSize = 6, ratioYX = NULL, ridgeScale = 2, plotAs = "ridges", threads = getArchRThreads(), ... )
ArchRProj |
An |
groupBy |
The name of the column in |
colorBy |
A string indicating whether the numeric values to be used in the violin plot should be from a column in
|
name |
The name of the column in |
imputeWeights |
The weights to be used for imputing numerical values for each cell as a linear combination of other cells values. See |
maxCells |
The maximum cells to consider when making the plot. |
quantCut |
If this is not null, a quantile cut is performed to threshold the top and bottom of the distribution of values.
This prevents skewed color scales caused by strong outliers. The format of this should be c(a,b) where |
log2Norm |
A boolean value indicating whether a log2 transformation should be performed on the values (if continuous) in plotting. |
pal |
A custom palette (see |
discreteSet |
The name of a discrete palette from |
ylim |
A vector of two numeric values indicating the lower and upper bounds of the y-axis on the plot. |
size |
The numeric size of the points to be plotted. |
baseSize |
The base font size to use in the plot. |
ratioYX |
The aspect ratio of the x and y axes on the plot. |
ridgeScale |
The scale factor for the relative heights of each ridge when making a ridgeplot with |
plotAs |
A string that indicates whether a rigdge plot ("ridges") should be plotted or a violin plot ("violin") should be plotted. |
threads |
The number of threads to be used for parallel computing. |
... |
Additional parameters to pass to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.