Learn R Programming

MOCHA (version 1.1.0)

plotIntensityDistribution: 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 )

Value

data.frame or ggplot histogram.

data.frame or ggplot histogram.

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).