flyCSV: Open your data as CSV

View source: R/flyCSV.R

flyCSVR Documentation

Open your data as CSV

Description

This function loads a file as a matrix. It assumes that the first column contains the rownames and the subsequent columns are the sample identifiers. Any rows with duplicated row names will be dropped with the first one being kepted.

Usage

flyCSV(
  df,
  filename = NA,
  browser = getOption("browser"),
  row.names = FALSE,
  encoding = ""
)

Arguments

df

Object do be written. Usually data frame.

filename

a file name/path to save the CSV to. If provided, the file will not be deleted afterwards.

browser

a non-empty character string giving the name of the program to be used as the HTML browser.

row.names

Whether to include row names on the first column. TRUE or FALS.

encoding

File encoding. Passes to write.csv

Value

df Returns the original object


aseyq/flyCSV documentation built on Aug. 6, 2022, 10:06 p.m.