import.dataset: Import A Local Dataset

Description Usage Arguments Examples

View source: R/datasets.R

Description

This function allows you to import a local dataset.

Usage

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

Arguments

path

Path to local dataset.

log

Whether or not to apply log(x+1) (optional). Default: FALSE

sep

Separator / delimiter character (optional). Default: TAB

header

Whether or not the file has a header (optional). Default: TRUE

index

Whether or not the file has 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
df <- import.dataset('mydataset.tsv')

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