inst/unitTests/local_test_getDatasetDetails.R

if(FALSE) {
  library( "RUnit" )
  library( "ENCODExplorer" )
}

load(file = "inst/extdata/test_rest_search_experiment.rda") #search_experiment
load(file = "inst/extdata/test_rest_search_dataset.rda") #search_dataset
load(file = "inst/extdata/test_matrices.rda") # matrices

res = getDatasetDetails(resultSet = search_dataset)
checkTrue(nrow(res) > 0, msg = "this function should return dataset data")
res = getDatasetDetails(resultSet = search_experiment)
checkTrue(nrow(res) == 0, msg = "this function shouldn't return any experiment data")

Try the ENCODExplorer package in your browser

Any scripts or data that you put into this service are public.

ENCODExplorer documentation built on Nov. 8, 2020, 5:11 p.m.