FeaturePlot_cust | R Documentation |
This function generates a scatter plot of the specified dimensions (features) of a Seurat object, colored by expression values of the specified feature.
FeaturePlot_cust(
SerObj,
dim1,
dim2,
pt.size = 1,
group.by,
Feat,
colors = c("white", "gray", "gold", "red", "maroon"),
base_size = 14
)
SerObj |
A Seurat object containing the data to plot |
dim1 |
Name of the first feature to plot on the x-axis |
dim2 |
Name of the second feature to plot on the y-axis |
pt.size |
Point size for the plot (default: 1) |
group.by |
Name of the grouping variable for the plot (optional) |
Feat |
Name of the feature to use for coloring the plot |
colors |
Vector of colors for the color gradient (default: c('white', 'gray', 'gold', 'red', 'maroon')) |
base_size |
Base font size for the plot (default: 14) |
A ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.