cytofin_generate_panel_template: Generate a template for a cytofin reference panel file

Description Usage Arguments Examples

View source: R/file_templates.R

Description

cytofin_generate_panel_template creates a template reference panel .csv file (with the correct columns and dummy example data) in a specified location.

Usage

1
2
3
4
cytofin_generate_panel_template(
  file_name = "template_panel_info.csv",
  template_path = getwd()
)

Arguments

file_name

A string representing the name of the .csv file to be saved in the directory specified by template_path. Defaults to "template_panel_info.csv"

template_path

File path or connection where the template file should be written. Defaults to the current working directory

Examples

1
2
3
4
5
6
7
8
9
# specify the path where you'd like to store the template file
my_name <- "panel_template.csv"
my_path <- file.path("~", "Desktop", "template_folder")

# generate the template file, which then can be edited manually 
cytofin_generate_panel_template(
   file_name = my_name, 
   template_path = my_path
)

bennyyclo/Cytofin documentation built on July 18, 2021, 8:16 a.m.