plot_marker_level_heatmap: plot_marker_level_heatmap

View source: R/plot_marker_level_heatmap.R

plot_marker_level_heatmapR Documentation

plot_marker_level_heatmap

Description

Blurs the image by splitting the images into small squares. The marker levels are then averaged within each square. All cells are considered, regardless of phenotype status.

Usage

plot_marker_level_heatmap(spe_object, num_splits, marker)

Arguments

spe_object

SpatialExperiment object in the form of the output of format_image_to_spe.

num_splits

Integer specifying the blurring level (number of splits) for the image. Higher numbers result in higher resolution.

marker

String. Marker to plot.

Value

A plot is returned

Examples

plot_marker_level_heatmap(SPIAT::simulated_image, num_splits = 100, "Tumour_marker")

TrigosTeam/SPIAT documentation built on Aug. 22, 2024, 7:50 p.m.