layer {MsImaging} R Documentation

render a ms-imaging layer by a specific ``m/z`` scan.

Description

Usage

layer(viewer, mz,
    pixelSize = "5,5",
    tolerance = "da:0.1",
    color = "viridis:turbo",
    levels = 30,
    cutoff = [0.75],
    background = "Transparent",
    raster = NULL);

Arguments

viewer

[as Drawer]

mz

[as double]

pixelSize

-

tolerance

the mass tolerance error for get ion intensity value from spatial spots.

color

the color palette name. [as string]

levels

[as integer]

Details

Authors

BioNovoGene

Value

this function returns data object of type Bitmap.

clr value class

Examples


[Package MsImaging version 1.0.0.0 Index]