load_images: load_images: Place tissue images within STlist

View source: R/utils.R

load_imagesR Documentation

load_images: Place tissue images within STlist

Description

Loads the images from tissues to the appropriate STlist slot.

Usage

load_images(x = NULL, images = NULL)

Arguments

x

an STlist

images

a string indicating a folder to load images from

Details

This function looks for .PNG or .JPG files within a folder matching the sample names in an existing STlist. Then, loads the images to the STlist which can be used for plotting along with other spatialGE plots.

Value

an STlist with images


FridleyLab/spatialGE documentation built on April 14, 2025, 9:37 a.m.