plot_cell_marker_levels: plot_cell_marker_levels

View source: R/plot_cell_marker_levels.R

plot_cell_marker_levelsR Documentation

plot_cell_marker_levels

Description

Produces a scatter plot of the level of a marker in each cell. The level of the marker in all cells is shown, at x-y positions, no matter if cells are phenotyped as being positive or negative for the particular marker.

Usage

plot_cell_marker_levels(spe_object, marker, feature_colname = "Phenotype")

Arguments

spe_object

SpatialExperiment object in the form of the output of format_image_to_spe.

marker

String. Marker to plot.

feature_colname

String. Column containing marker information

Value

A plot is returned

Examples

plot_cell_marker_levels(SPIAT::simulated_image, "Immune_marker1")

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