CreateSubDataset: CreateSubDataset.

Description Usage Arguments Value

View source: R/librMSIdata.R

Description

Creates a new rMSI image object from sub-set of selected pixels by ID's.

Usage

1
CreateSubDataset(img, id, ramdisk_path, new_mass = img$mass)

Arguments

img

the original rMSI object.

id

a vector of ID's to retain in the sub data set.

ramdisk_path

a full disk path where the new ramdisk will be stored.

new_mass

a new mass axis if resampling must be used.

Value

the sub rMSI object.


prafols/rMSI documentation built on Dec. 12, 2021, 7:29 p.m.