render {MsImaging} R Documentation

MS-imaging of the MSI summary data result.

Description

Usage

render(data,
    intensity = Total,
    colorSet = "viridis:turbo",
    defaultFill = "Transparent",
    pixelSize = "6,6",
    filter = NULL,
    background = NULL,
    size = NULL,
    colorLevels = 255,
    dims = NULL);

Arguments

data

1. MSISummary 2. SingleIonLayer

intensity

[as IntensitySummary]

colorSet

a enum flag value for rendering the spatial heatmap colors, all flags see the clr enum: ScalerPalette. [as string]

defaultFill

the color value for the spots which those intensity value is missing(ZERO or NaN). [as string]

pixelSize

-

background

all of the pixels in this index parameter data value will be treated as background pixels and removed from the MSI rendering. [as string]

size

do size overrides, default parameter value nothing means the size is evaluated based on the dimension `dims` of the ms-imaging raw data and the `pixelSize`

dims

the raw ms-imaging canvas dimension size, should be an integer vector that contains two elements inside: canvas width and canvas height value.

env

[as Environment]

Details

Authors

BioNovoGene

Value

this function returns data object of type Bitmap.

clr value class

Examples


[Package MsImaging version 1.0.0.0 Index]