getProp: Get proportions from a SummarizedExperiment.

View source: R/spicy.R

getPropR Documentation

Get proportions from a SummarizedExperiment.

Description

Get proportions from a SummarizedExperiment.

Usage

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

Arguments

cells

A 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 Dec. 20, 2024, 10:50 a.m.