Skip to contents

Show All Available Datasets in UCSC Cell Browser.

Usage

ShowCBDatasets(
  lazy = TRUE,
  json.folder = NULL,
  update = FALSE,
  quiet = FALSE,
  timeout = 3600
)

Arguments

lazy

Logical value, whether to always load datasets online or locally. Default: TRUE (load locally).

json.folder

Folder used to save or load datasets json files. Default: NULL (current working directory).

update

Logical value, whther to update local datasets json. Default: FALSE. For the first time, you should set lazy TRUE and update TRUE to save json files.

quiet

Logical value, whether to show downloading progress. Default: FALSE (show).

timeout

Timeout for data access. Default: 3600.

Value

Dataframe contains all available datasets.

Examples

if (FALSE) {
# first time run (lazy mode), need users to provide json folder
ucsc.cb.samples <- ShowCBDatasets(lazy = TRUE, update = TRUE)
# second time run (lazy mode), need users to provide json folder
ucsc.cb.samples <- ShowCBDatasets(lazy = TRUE, update = FALSE)
}