importPBMC {rliger}R Documentation

Import prepared dataset publically available

Description

These are functions to download example datasets that are subset from public data.

Usage

importPBMC(
  dir = getwd(),
  overwrite = FALSE,
  method = "libcurl",
  verbose = getOption("ligerVerbose", TRUE),
  ...
)

importBMMC(
  dir = getwd(),
  overwrite = FALSE,
  method = "libcurl",
  verbose = getOption("ligerVerbose", TRUE),
  ...
)

importCGE(
  dir = getwd(),
  overwrite = FALSE,
  method = "libcurl",
  verbose = getOption("ligerVerbose", TRUE),
  ...
)

Arguments

dir

Path to download datasets. Default current working directory getwd().

overwrite

Logical, if a file exists at corresponding download location, whether to re-download or directly use this file. Default FALSE.

method

method argument directly passed to download.file. Using "libcurl" while other options might not work depending on platform.

verbose

Logical. Whether to show information of the progress. Default getOption("ligerVerbose") or TRUE if users have not set.

...

Additional arguments passed to download.file

Value

Constructed liger object with QC performed and missing data removed.

Examples



pbmc <- importPBMC()
bmmc <- importBMMC()
cge <- importCGE()



[Package rliger version 2.0.1 Index]