getProp: Get proportions from a SegmentedCells, SingleCellExperiment,...

View source: R/spicy.R

getPropR Documentation

Get proportions from a SegmentedCells, SingleCellExperiment, SpatialExperiment or data.frame.

Description

Get proportions from a SegmentedCells, SingleCellExperiment, SpatialExperiment or data.frame.

Usage

getProp(cells, feature = "cellType", imageID = "imageID")

Arguments

cells

SegmentedCells, SingleCellExperiment, SpatialExperiment or data.frame

feature

The feature of interest

imageID

The imageID's

Value

Proportions

Examples

data("diabetesData")
prop <- getProp(diabetesData)

ellispatrick/spicyR documentation built on April 22, 2024, 12:24 p.m.