FindThresholdsShiny | R Documentation |
Launches a Shiny application to interactively apply GO term-based thresholding for identifying stressed cells in a Seurat object. This function calculates the "granule average GO-scores" for individual GO terms and updates the object with a combined stress identification based on these thresholds.#'
FindThresholdsShiny(
obj = combined.obj,
proposed.method = c("fitted", "empirical")[1],
quantile = c(0.99, 0.9)[1],
stress.ident1,
stress.ident2,
notstress.ident3,
notstress.ident4 = NULL,
step.size = 0.001,
stress.barplot.x.axis = Seurat.utils::GetClusteringRuns(obj)[1]
)
obj |
Seurat single cell object, with Granule Averages GO-Scores in metadata (ident1-4). |
proposed.method |
The method for estimating thresholds, default: |
quantile |
The quantile cutoff for threshold determination, default: |
stress.ident1 |
Identifier for the first stress-related GO term. |
stress.ident2 |
Identifier for the second stress-related GO term. |
notstress.ident3 |
Identifier for the first non-stress-related GO term. Idents 3 and 4 act as a negative filter for stress identification. |
notstress.ident4 |
Identifier for the second non-stress-related GO term, optional. |
step.size |
Slider step size. Default: 0.001. |
stress.barplot.x.axis |
How to split the data for the stress fraction barplot?
default: |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.