GrScoreUMAP: Wrapper for clUMAP with Thresholding and Plotting

View source: R/gruffi.R

GrScoreUMAPR Documentation

Wrapper for clUMAP with Thresholding and Plotting

Description

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.

Usage

GrScoreUMAP(
  obj = combined.obj,
  colname = "RNA_snn_res.6.reassigned_cl.av_GO:0042063",
  miscname = "thresh.stress.ident1",
  auto = TRUE,
  ...
)

Arguments

obj

An object containing the data and miscellaneous threshold information. Default is combined.obj.

colname

Name of the column containing granule scores. Default is 'RNA_snn_res.6.reassigned_cl.av_GO:0042063'.

miscname

Name of the miscellaneous threshold information within obj@misc$gruffi. Default is 'thresh.stress.ident1'.

auto

Automatically flip filtering

...

Additional arguments to be passed to clUMAP.

Examples

# Assuming combined.obj is available and properly formatted
customClUMAPWrapper(
  combined.obj,
  "RNA_snn_res.6.reassigned_cl.av_GO:0042063",
  "thresh.stress.ident1"
)


jn-goe/gruffi documentation built on Nov. 7, 2024, 10:38 p.m.