export_excel: Export data to excel file

Description Usage Arguments Examples

View source: R/transfer_data.R

Description

Export data to excel file

Usage

1
2
export_excel(data, file_path, colnames = TRUE, rownames = TRUE,
  name_sheet = "Sheet1", add_to_file = FALSE)

Arguments

data

Content to export to excel file

file_path

Name of excel file that is the destination for data

colnames

Boolean indicating whether column names should be written as first row (default: TRUE)

rownames

Boolean indicating whther row names should be written as first column (default: TRUE)

name_sheet

String indicating what is to be the name of the sheet containing the newly imported data (default: "Sheet1")

add_to_file

Boolean indicating whether data should be added as a new excel sheet to a current excel file or if data should replace all existing excel sheets (default: FALSE)

Examples

1
2
3
4
data(Fincher_lateral_muscle)
export_excel(data = Fincher_lateral_muscle,
            file_path = "C:/Users/exampleUser/Desktop/planaria.xlsx",
            name_sheet = "LatMuscle", add_to_file = TRUE)

adamnc2/simpleSCDE documentation built on May 7, 2019, 7:40 a.m.