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 Nov. 15, 2024, 1:46 a.m.