Mock function used to document all main function.
Nothing. This is a mock function.
Seurat
| A Seurat object, generated by CreateSeuratObject.
numeric
| Overall font size of the plot. All plot elements will have a size relationship with this font size.
character
| Base font family for the plot. One of:
mono
: Mono spaced font.
serif
: Serif font family.
sans
: Default font family.
character
| Type of legend to display. One of:
normal
: Default legend displayed by ggplot2.
colorbar
: Redefined colorbar legend, using guide_colorbar.
character
| Position of the legend in the plot. One of:
top
: Top of the figure.
bottom
: Bottom of the figure.
left
: Left of the figure.
right
: Right of the figure.
none
: No legend is displayed.
numeric
| Width of the lines of the box in the legend.
character
| Color of the lines of the box in the legend.
character
| Color of the ticks of the box in the legend.
numeric
| Length and width of the legend. Will adjust automatically depending on legend side.
character
| Title, subtitle or caption to use in the plot.
character
| Assay to use. Defaults to the current assay.
character
| Data slot to use. Only one of: counts, data, scale.data. Defaults to "data".
character
| Reduction to use. Can be the canonical ones such as "umap", "pca", or any custom ones, such as "diffusion". If you are unsure about which reductions you have, use Seurat::Reductions(sample)
. Defaults to "umap" if present or to the last computed reduction if the argument is not provided.
character
| A capital letter from A to H or the scale name as in scale_fill_viridis.
logical
| Whether to raster the resulting plot. This is recommendable if plotting a lot of cells.
numeric
| Pixel resolution for rasterized plots. Defaults to 1024. Only activates on Seurat versions higher or equal than 4.1.0.
logical
| Whether to plot border around cells.
numeric
| Width of the border of the cells.
character
| Color for the border of the heatmap body.
character
| Color value for NA.
numeric
| Degree to rotate the X labels. One of: 0, 45, 90.
character
| Titles for the X and Y axis.
numeric
| Size of the dots.
logical
| Whether to show extra comments, warnings,etc.
logical
| Whether to invert the axis of the displayed plot.
character
| Metadata variable to group the output by. Has to be a character of factor column.
character
| Secondary metadata variable to further group (split) the output by. Has to be a character of factor column.
named_vector
| Named vector of valid color representations (either name of HEX codes) with as many named colors as unique values of group.by. If group.by is not provided, defaults to the unique values of Idents. If not provided, a color scale will be set by default.
character
| Title for the legend.
numeric
| Size of the icons in legend.
logical
| Whether the legend is filled by row or not.
numeric
| Number of columns in the legend.
numeric
| Number of rows in the legend.
logical
| Whether to plot marginal distributions on the figure or not.
character
| One of:
density
: Compute density plots on the margins.
histogram
: Compute histograms on the margins.
boxplot
: Compute boxplot on the margins.
violin
: Compute violin plots on the margins.
densigram
: Compute densigram plots on the margins.
numeric
| Size ratio between the main and marginal plots. A value of 5 means that the main plot is 5 times bigger than the marginal plots.
logical
| Whether to group the marginal distribution by group.by or current identities.
logical
| Return a symmetrical plot axes-wise or continuous color scale-wise, when applicable.
character
| Title for the columns of the heatmaps. Only works with single heatmaps.
character
| Title for the rows of the heatmaps. Only works with single heatmaps.
logical
| Cluster the columns or rows of the heatmaps.
logical
| Cluster the rows or rows of the heatmaps.
numeric
| Degree in which to rotate the column labels.
numeric
| Degree in which to rotate the row labels.
numeric
| Size of each cell in the heatmap.
named_list
| Named list of lists of genes to be used as input.
numeric
| Degree in which to rotate the column titles.
numeric
| Degree in which to rotate the row titles.
character
| Side to put the column names. Either left or right.
character
| Side to put the row names. Either left or right.
character
| Side to put the column titles Either left or right.
character
| Side to put the row titles Either left or right.
numeric
| Width and length of the legend in the heatmap.
character
| Color of the edges and ticks of the legend in the heatmap.
numeric
| Direction of the viridis scales. Either -1 or 1.
numeric
| Gap in cm between heatmaps.
numeric
| Gap in cm between legends.
character
| Vector of cells/identities to focus into. The identities have to much those in Seurat::Idents(sample)
The rest of the cells will be grayed out. Both parameters can be used at the same time.
numeric
| Number of columns used in the arrangement of the output plot using "split.by" parameter.
numeric
| Vector of 2 numerics indicating the dimensions to plot out of the selected reduction. Defaults to c(1, 2) if not specified.
character
| Feature to represent.
character
| Features to represent.
logical
| Whether to use viridis color scales.
numeric
| Either 1 or -1. Controls how the gradient of viridis scale is formed.
logical
| Whether to plot grid lines.
character
| Color of the grid in the plot. In heatmaps, color of the border of the cells.
character
| One of the possible linetype options:
blank
.
solid
.
dashed
.
dotted
.
dotdash
.
longdash
.
twodash
.
logical
| Whether to plot axes or not.
character
| Vector. Title, subtitle or caption to use in the plot when multiple features are passed on. Use NA to keep the original title.
character
| Position for the title of the legend. One of:
top
: Top of the legend.
bottom
: Bottom of the legend.
left
: Left of the legend.
right
: Right of the legend.
logical
| Whether to repel the text labels.
logical
| Whether to plot density contours in the UMAP.
character
| Whether to plot density contours on top or at the bottom of the visualization layers, thus overlapping the clusters/cells or not.
character
| Color of the density lines.
character
| Line end style (round, butt, square).
character
| Line join style (round, mitre, bevel).
numeric
| To make the contours fit the plot, the limits of the X and Y axis are expanding a given percentage from the min and max values for each axis. This controls such percentage.
logical
| Whether to plot the cluster labels in the UMAP. The cluster labels will have the same color as the cluster colors.
character
| Color of the labels in the plot.
character
| Color to fill the labels. Has to be a single color, that will be used for all labels. If NULL
, the colors of the clusters will be used instead.
numeric
| Size of the labels in the plot.
logical
| Whether to plot the plot labels as geom_text
(FALSE) or geom_label
(TRUE).
numeric
| Filter the output result to the terms which are supported by this many genes.
character
| GO ontology to use. One of:
BP
: For Biological Process.
MF
: For Molecular Function.
CC
: For Cellular Component.
character
| Vector of gene symbols to query for functional annotation.
OrgDB
| Database object to use for the query.
logical
| Remove the white in viridis color scale when viridis.direction
is set to -1.
numeric
| Controls the number of breaks in continuous color scales of ggplot2-based plots.
numeric
| Controls the size between the different facets.
character
| Color of the strip text.
numeric
| Rotation of the strip text (angles).
character
| Type of symmetrical color palette to use. Out of the diverging palettes defined in brewer.pal
.
numeric
| Either 1 or -1. Direction of the divering palette. This basically flips the two ends.
numeric
| Number of cells to subset for the analysis. NA will use all. Cells are selected at random.
character
| Controls the style of the font for the corresponding theme element. One of:
plain
: For normal text.
italic
: For text in itallic.
bold
: For text in bold.
bold.italic
: For text both in itallic and bold.
character
| One of: Seurat, UCell. Compute the enrichment scores using AddModuleScore or AddModuleScore_UCell.
character
| Should the gene sets be ordered in a specific way? Provide it as a vector of characters with the same names as the names of the gene sets.
named_list
| Should the groups in theheatmaps be ordered in a specific way? Provide it as a named list (as many lists as values in group.by
) with the order for each of the elements in the groups.
logical
| Smoothes the output heatmap, saving space on disk when saving the image. However, the image is not as crisp.
character
| Viridis color palettes for the p-value, logfc and expression heatmaps. A capital letter from A to H or the scale name as in scale_fill_viridis.
numeric
| Number of bins to use in AddModuleScore.
numeric
| Number of genes in the control set to use in AddModuleScore.
numeric
| Set the min/max ends of the color scale. Any cell/group with a value lower than min.cutoff will turn into min.cutoff and any cell with a value higher than max.cutoff will turn into max.cutoff. In FeaturePlots, provide as many values as features. Use NAs to skip a feature.
numeric
| Controls the number of cells used when plot_cell_borders = TRUE
. Value between 0 and 1. It computes a 2D kernel density and based on this cells that have a density below the specified quantile will be used to generate the cluster contour. The lower this number, the less cells will be selected, thus reducing the overall size of the plot but also potentially preventing all the contours to be properly drawn.
character
| Type of sequential color palette to use. Out of the sequential palettes defined in brewer.pal
.
character
| Sequential palettes for p-value, logfc and expression heatmaps. Type of sequential color palette to use. Out of the sequential palettes defined in brewer.pal
.
numeric
| Direction of the sequential color scale. Either 1 or -1.
logical
| Returns the Seurat object with the modifications performed in the function. Nomally, this contains a new assay with the data that can then be used for any other visualization desired.
character
| DecoupleR statistic to use. One of:
wmean
: For weighted mean.
norm_wmean
: For normalized weighted mean.
corr_wmean
: For corrected weighted mean.
logical
| Whether to perform clustering of rows and columns.
# This a mock function that stores the documentation for many other functions.
# It is not intended for user usage.
Run the code above in your browser using DataLab