StressUMAP | R Documentation |
This function applies thresholding to granule scores within a specified object and column, inverts the thresholding if a specific miscellaneous name is provided, and then calls clUMAP for plotting based on the thresholded values.
Plot Stress Assignment UMAP after running the gruffi pipeline
StressUMAP(
obj = combined.obj,
colname = "is.Stressed",
GO.terms = names(obj@misc$gruffi$GO),
title = paste("Stress identification"),
suffix = NULL,
...
)
StressUMAP(
obj = combined.obj,
colname = "is.Stressed",
GO.terms = names(obj@misc$gruffi$GO),
title = paste("Stress identification"),
suffix = NULL,
...
)
obj |
An object containing the data and miscellaneous threshold information.
Default is |
colname |
Name of the column containing granule scores.
Default is |
GO.terms |
used for the computation |
title |
Title of the plot. Default: "Stress identification". |
suffix |
Suffix to append to the plot/file name. Default: NULL. |
... |
Additional arguments to be passed to |
miscname |
Name of the miscellaneous threshold information within |
auto |
Automatically flip filtering |
# Assuming combined.obj is available and properly formatted
customClUMAPWrapper(
combined.obj,
"RNA_snn_res.6.reassigned_cl.av_GO:0042063",
"thresh.stress.ident1"
)
StressUMAP(combined.obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.