- sample
Seurat | A Seurat object, generated by CreateSeuratObject.
- infercnv_object
infercnv | Output inferCNV object run on the same Seurat object.
- chromosome_locations
tibble | Tibble containing the chromosome regions to use. Can be obtained using utils::data("human_chr_locations", package = "SCpubr").
- group.by
character | Metadata variable to group the output by. Has to be a character of factor column.
- using_metacells
logical | Whether inferCNV was run using metacells or not.
- metacell_mapping
named_vector | Vector or cell - metacell mapping.
- include_chr_arms
logical | Whether the output heatmap should also include chromosome arms or just whole chromosomes.
- values.show
logical | Whether to add values as text in the heatmap.
- values.threshold
numeric | Value from which the text color turns from black to white. If mode = "hvg", this is applied to both ends of the color scale.
- values.size
numeric | Size of the text labels.
- values.round
numeric | Decimal to which round the values to.
- legend.type
character | Type of legend to display. One of:
normal: Default legend displayed by ggplot2.
colorbar: Redefined colorbar legend, using guide_colorbar.
- legend.position
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.
- legend.length, legend.width
numeric | Length and width of the legend. Will adjust automatically depending on legend side.
- legend.framewidth, legend.tickwidth
numeric | Width of the lines of the box in the legend.
- legend.framecolor
character | Color of the lines of the box in the legend.
- legend.tickcolor
character | Color of the ticks of the box in the legend.
- font.size
numeric | Overall font size of the plot. All plot elements will have a size relationship with this font size.
- pt.size
numeric | Size of the dots.
- font.type
character | Base font family for the plot. One of:
- axis.text.x.angle
numeric | Degree to rotate the X labels. One of: 0, 45, 90.
- enforce_symmetry
logical | Return a symmetrical plot axes-wise or continuous color scale-wise, when applicable.
- legend.title
character | Title for the legend.
- na.value
character | Color value for NA.
- viridis.palette
character | A capital letter from A to H or the scale name as in scale_fill_viridis.
- viridis.direction
numeric | Either 1 or -1. Controls how the gradient of viridis scale is formed.
- verbose
logical | Whether to show extra comments, warnings,etc.
- min.cutoff, max.cutoff
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.
- number.breaks
numeric | Controls the number of breaks in continuous color scales of ggplot2-based plots.
- diverging.palette
character | Type of symmetrical color palette to use. Out of the diverging palettes defined in brewer.pal.
- diverging.direction
numeric | Either 1 or -1. Direction of the divering palette. This basically flips the two ends.
- sequential.palette
character | Type of sequential color palette to use. Out of the sequential palettes defined in brewer.pal.
- sequential.direction
numeric | Direction of the sequential color scale. Either 1 or -1.
- use_viridis
logical | Whether to use viridis color scales.
- return_object
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.
- grid.color
character | Color of the grid in the plot. In heatmaps, color of the border of the cells.
- border.color
character | Color for the border of the heatmap body.
- flip
logical | Whether to invert the axis of the displayed plot.
- plot.title.face, plot.subtitle.face, plot.caption.face, axis.title.face, axis.text.face, legend.title.face, legend.text.face
character | Controls the style of the font for the corresponding theme element. One of: