edger_df_to_im_bw: Convert a Data Frame into an Image

View source: R/edger_df_to_im_bw.R

edger_df_to_im_bwR Documentation

Convert a Data Frame into an Image

Description

Convert a data frame into either a black and white or a color image. Optionally display the new image.

Usage

edger_df_to_im_bw(imdf, show = FALSE)

Arguments

imdf

A data frame to be converted. Must contain at least 3 columns: x, y, and value. If a color image, must also contain a cc column.

show

A Boolean indicating if the new image should be displayed. Default is FALSE.

Value

The input data frame as an image.


kaitlynstrickfaden/edger documentation built on Nov. 22, 2022, 5:55 a.m.