split_flowjo_export_image: Split a flowjo export of multiple plots into separate...

View source: R/split_flowjo_export_image.R

split_flowjo_export_imageR Documentation

Split a flowjo export of multiple plots into separate graphics for rearrangement

Description

Split a flowjo export of multiple plots into separate graphics for rearrangement

Usage

split_flowjo_export_image(
  img,
  nPlots_x = 4,
  nPlots_y = 3,
  folder,
  pptx_name,
  pptx_image_size = 1,
  pptx_border_space = 0.2
)

Arguments

img

character path to an image, preferable a png exported from flowjos layout editor, has to be equally spaced in x and y direction

nPlots_x

integer, how many plots in x direction

nPlots_y

integer, how many plots in y direction

folder

folder name of where to save split images, this folder is written to the directory of img

pptx_name

character, name a pptx to write the split images to; if missing no pptx is generated

pptx_image_size

numeric, size of the images in pptx

pptx_border_space

numeric, space between images in pptx

Value

writes a folder with split images and optionally a pptx

Examples

## Not run: 
# copy an example file to your disk
file.copy(from = system.file("extdata", "img.png", package = "fcexpr"), to = "your_path")
fcexpr::split_flowjo_export_image(img = "your_path/img.png",
nPlots_x = 6, nPlots_y = 6, pptx = "my_img_split.pptx")

## End(Not run)

Close-your-eyes/fcexpr documentation built on Sept. 29, 2023, 12:27 a.m.