perform.na.mapping: Perform NA mapping for transparency

Description Usage Arguments Value

View source: R/vis.R

Description

Usually this is done so that the 'NA' values are plotted transparently, so your can see a background color through the respective colors.

Usage

1

Arguments

data

numeric vector

map_to_NA

the value or value range that should be mapped to 'NA'. If a single value, only exactly this value is used. If two values, they are interpreted as a range, and a values between them are mapped to 'NA'. If you pass 'NULL', the data are returned as-is.

Value

the mapped data


neuroconductor/fsbrain documentation built on Sept. 16, 2020, 2:30 p.m.