plotIntensityDistribution {MOCHA}R Documentation

plotIntensityDistribution

Description

plotIntensityDistribution Plots the distribution of sample-tile intensities for a give cell type

plotIntensityDistribution Plots the distribution of sample-tile intensities for a give cell type

Usage

plotIntensityDistribution(
  TSAM_object,
  cellPopulation,
  returnDF = FALSE,
  density = TRUE
)

plotIntensityDistribution(
  TSAM_object,
  cellPopulation,
  returnDF = FALSE,
  density = TRUE
)

Arguments

TSAM_object

SummarizedExperiment from getSampleTileMatrix

cellPopulation

Cell type names (assay name) within the TSAM_object

returnDF

If TRUE, return the data frame without plotting. Default is FALSE.

density

Boolean to determine whether to plot density or histogram. Default is TRUE (plots density).

Value

data.frame or ggplot histogram.

data.frame or ggplot histogram.


[Package MOCHA version 1.1.0 Index]