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 Aug. 23, 2024, 11:38 p.m.