You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' @param seed a seed is set for reproducibility of the plotting result.
1524
1532
#' @param color_palette vector of colors that should be used to color dots.
1525
1533
#' @param dot_size numeric indicating the size of the dots.
1534
+
#' @param alpha transparency of the dots.
1526
1535
#' @param title Title of the plot.
1527
1536
#' @import ggplot2
1528
1537
#' @return The function returns a scatter plot of two features available in the expression matrix. By default, dots are colored by cell population label provided in cluster_var. If coloring by a metadata is wanted instead, a group_var can be defined. Further, if only a selection of levels available in cluster_var should be included in plotting, a vector of labels of interest can be provided to cluster_to_show argument.
#' @param cluster_to_show (optional) vector of strings indicating levels in cluster_var that should be included for plotting.
1816
1826
#' @param color_palette vector of colors to be used to fill density distributions.
1817
1827
#' @param alpha numeric, adjust alpha to be used on fill color of density distributions.
1828
+
#' @param title Title of the plot.
1818
1829
#' @import ggridges
1819
1830
#' @returns \code{plot_marker_ridgeplot()} returns either one plot in case only one marker is provided via \code{marker} argument or a list of plots, if several markers are requested.
1820
1831
#' @details The ridgeline plots are plotted with default parameters of ggridges's \code{\link[ggridges]{geom_density_ridges}}
Copy file name to clipboardExpand all lines: R/pseudotime.R
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,7 @@
25
25
#' @param smoother choice of scatter plot smoother. Same as principal_curve, but "lowess" option is replaced with "loess" for additional flexibility.
26
26
#' @param shrink.method character denoting how to determine the appropriate amount of shrinkage for a branching lineage. Accepted values are the same as for kernel in density (default is "cosine"), as well as "tricube" and "density". See 'Details' for more.
27
27
#' @param allow.breaks logical, determines whether curves that branch very close to the origin should be allowed to have different starting points.
28
+
#' @param prefix Optional prefix for the slot name of the output.
28
29
#' @param seed A seed is set for reproducibility.
29
30
#' @details `runPseudotime()` is a wrapper function around \code{\link[slingshot]{getLineages}} and \code{\link[slingshot]{getCurves}} implemented in the package *slingshot*.
30
31
#' The function first calculated the linages and then the curves of the pseudotime and converts the result to a format compatible with the structure of the 'condor' object. The user can specify all the parameters available for the \code{\link[slingshot]{getLineages}} and \code{\link[slingshot]{getCurves}} functions, arguments description were copied from the documentation of the *slingshot* package.
0 commit comments