sampleIDs: Get all unique sample IDs

View source: R/utils.R

sampleIDsR Documentation

Get all unique sample IDs

Description

The title is self-explanatory.

Usage

sampleIDs(sfe)

Arguments

sfe

A SpatialFeatureExperiment object.

Value

A character vector of all unique entries of the sample_id column in colData(x).

Examples

library(SFEData)
sfe <- McKellarMuscleData(dataset = "small")
sampleIDs(sfe)

pachterlab/SpatialFeatureExperiment documentation built on Dec. 20, 2024, 3:41 a.m.