heatmap_cross_sample: Plot heatmap across samples.

View source: R/visualization.R

heatmap_cross_sampleR Documentation

Plot heatmap across samples.

Description

Plot heatmap across samples.

Usage

heatmap_cross_sample(
  x,
  genes,
  samples = NULL,
  clusters = NULL,
  groups = NULL,
  type = c("counts", "logcounts", "cpm", "vstresiduals"),
  ...
)

## S3 method for class 'Seurat'
heatmap_cross_sample(
  x,
  genes,
  samples = NULL,
  clusters = NULL,
  groups = NULL,
  type = c("counts", "logcounts", "cpm", "vstresiduals"),
  ...
)

## S3 method for class 'SingleCellExperiment'
heatmap_cross_sample(
  x,
  genes,
  samples = NULL,
  clusters = NULL,
  groups = NULL,
  type = c("counts", "logcounts", "cpm", "vstresiduals"),
  ...
)

## S3 method for class 'list'
heatmap_cross_sample(
  x,
  genes,
  samples = NULL,
  clusters = NULL,
  groups = NULL,
  type = c("counts", "logcounts", "cpm", "vstresiduals"),
  ...
)

## S3 method for class 'array'
heatmap_cross_sample(
  x,
  genes,
  samples = NULL,
  clusters = NULL,
  groups = NULL,
  type = c("counts", "logcounts", "cpm", "vstresiduals"),
  ...
)

Arguments

x

Data object to plot.

genes

Genes to be queried.

samples

Samples to be queried.

clusters

Cell subpopulation to be queried.

groups

Group infromation.

type

Value type of pseudo-bulk data.

...

Args passed to muscat::aggregateData

Methods (by class)

  • Seurat: Plot heatmap for Seurat object.

  • SingleCellExperiment: Plot heatmap for SingleCellExperiment object.

  • list: Plot heatmap for a list of matrices.

  • array: Plot heatmap for array.


altairwei/rhapsodykit documentation built on Feb. 1, 2023, 8:52 a.m.