export.dataset: Export A Dataset To A File

Description Usage Arguments Examples

View source: R/datasets.R

Description

This function allows you to export a dataset to a file.

Usage

1
2
3
4
5
6
7
8
export.dataset(
  df,
  path,
  sep = "\t",
  header = TRUE,
  index = FALSE,
  transpose = FALSE
)

Arguments

df

Dataset to export.

path

Output file path.

sep

Separator / delimiter character (optional). Default: TAB

header

Whether or not to include a header (optional). Default: TRUE

index

Whether or not to include an index column (optional). Default: FALSE

transpose

Whether or not to transpose the data matrix (optional). IMPORTANT NOTE: gnlearn works with cell x gene matrices. Default: FALSE

Examples

1
export.dataset(df, 'mydataset.tsv')

rlebron-bioinfo/gnlearn documentation built on July 25, 2020, 12:38 p.m.