visImportance: visImportance

Description Usage Arguments Value Examples

View source: R/importanceADT.R

Description

A function to visualise the features distribtuion

Usage

1
2
3
4
5
6
visImportance(
  sce,
  plot = c("boxplot", "heatmap"),
  altExp_name = "ADT",
  exprs_value = "logcounts"
)

Arguments

sce

A singlecellexperiment object

plot

A string indicates the type of the plot (either boxplot or heatmap)

altExp_name

A character indicates which expression matrix is used. by default is none (i.e. RNA).

exprs_value

A character indicates which expression value in assayNames is used.

Value

A plot (either ggplot or pheatmap) to visualise the ADT importance results

Examples

1
2
3
4
5
data("sce_control_subset", package = "CiteFuse")
sce_control_subset <- importanceADT(sce_control_subset,
group = sce_control_subset$SNF_W_louvain,
subsample = TRUE)
visImportance(sce_control_subset, plot = "boxplot")

CiteFuse documentation built on April 14, 2021, 6 p.m.