PCAImage-msi.dataset-method: Generates an RGB msImage representing the first 3 principal...

PCAImage,msi.dataset-methodR Documentation

Generates an RGB msImage representing the first 3 principal components. This image can be used to qualitatively evaluate the spatial heterogeneity of the sample.

Description

Generates an RGB msImage representing the first 3 principal components. This image can be used to qualitatively evaluate the spatial heterogeneity of the sample.

Usage

## S4 method for signature 'msi.dataset'
PCAImage(object, alignToSample = TRUE, seed = NULL)

Arguments

object

msi.dataset-class object.

alignToSample

boolean (default = TRUE). If TRUE, the principal component scores are aligned to the pixel mean intensity.

seed

set the random seed (default = NULL).

Value

RGB raster representing the first 3 principal components (see msImage).


paoloinglese/SPUTNIK documentation built on April 18, 2024, 8:56 p.m.