Skip to content

Commit

Permalink
Updated documentation and also fixed DotPlot scale coloring issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rsatija committed Jul 6, 2023
1 parent 1ae1193 commit 047b929
Show file tree
Hide file tree
Showing 16 changed files with 209 additions and 47 deletions.
17 changes: 10 additions & 7 deletions R/visualization.R
Expand Up @@ -579,7 +579,8 @@ RidgePlot <- function(
#' @inheritParams RidgePlot
#' @param pt.size Point size for points
#' @param alpha Alpha value for points
#' @param split.by A variable to split the violin plots by,
#' @param split.by A factor in object metadata to split the plot by, pass 'ident'
#' to split by cell identity'
#' @param split.plot plot each group of the split violin plots by multiple or
#' single violin shapes.
#' @param adjust Adjust parameter for geom_violin
Expand Down Expand Up @@ -770,8 +771,8 @@ ColorDimSplit <- function(
#' @param reduction Which dimensionality reduction to use. If not specified, first searches for umap, then tsne, then pca
#' @param group.by Name of one or more metadata columns to group (color) cells by
#' (for example, orig.ident); pass 'ident' to group by identity class
#' @param split.by Name of a metadata column to split plot by;
#' see \code{\link{FetchData}} for more details
#' @param split.by A factor in object metadata to split the plot by, pass 'ident'
#' to split by cell identity'
#' @param shape.by If NULL, all points are circles (default). You can specify any
#' cell attribute (that can be pulled with FetchData) allowing for both
#' different colors and different shapes on cells. Only applicable if \code{raster = FALSE}.
Expand Down Expand Up @@ -983,8 +984,8 @@ DimPlot <- function(
#' }
#' @param min.cutoff,max.cutoff Vector of minimum and maximum cutoff values for each feature,
#' may specify quantile in the form of 'q##' where '##' is the quantile (eg, 'q1', 'q10')
#' @param split.by A factor in object metadata to split the feature plot by, pass 'ident'
#' to split by cell identity'; similar to the old \code{FeatureHeatmap}
#' @param split.by A factor in object metadata to split the plot by, pass 'ident'
#' to split by cell identity'
#' @param keep.scale How to handle the color scale across multiple plots. Options are:
#' \itemize{
#' \item{"feature" (default; by row/feature scaling):}{ The plots for each individual feature are scaled to the maximum expression of the feature across the conditions provided to 'split.by'.}
Expand Down Expand Up @@ -1931,6 +1932,8 @@ CellScatter <- function(
#' @param cols Colors to use for identity class plotting.
#' @param pt.size Size of the points on the plot
#' @param shape.by Ignored for now
#' @param split.by A factor in object metadata to split the feature plot by, pass 'ident'
#' to split by cell identity'
#' @param span Spline span in loess function call, if \code{NULL}, no spline added
#' @param smooth Smooth the graph (similar to smoothScatter)
#' @param slot Slot to pull data from, should be one of 'counts', 'data', or 'scale.data'
Expand Down Expand Up @@ -4278,8 +4281,8 @@ BarcodeInflectionsPlot <- function(object) {
#' @param dot.scale Scale the size of the points, similar to cex
#' @param idents Identity classes to include in plot (default is all)
#' @param group.by Factor to group the cells by
#' @param split.by Factor to split the groups by (replicates the functionality
#' of the old SplitDotPlotGG);
#' @param split.by A factor in object metadata to split the plot by, pass 'ident'
#' to split by cell identity'
#' see \code{\link{FetchData}} for more details
#' @param cluster.idents Whether to order identities by hierarchical clusters
#' based on given features, default is FALSE
Expand Down
4 changes: 2 additions & 2 deletions man/ColorDimSplit.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/DimPlot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions man/DotPlot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 4 additions & 8 deletions man/FeaturePlot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions man/FeatureScatter.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/ImageDimPlot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 8 additions & 9 deletions man/ImageFeaturePlot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions man/IntegrateData.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions man/IntegrateEmbeddings.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

108 changes: 108 additions & 0 deletions man/LeverageScore.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion man/PolyFeaturePlot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/Seurat-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 047b929

Please sign in to comment.