servermatrix: servermatrix

Description Usage Arguments Value See Also Examples

View source: R/download_db.R

Description

Called by get_rmdl() to get a matrix of database files and file info from the server. Verifies valid versions and timestamps in filenames, and that h5se directories contain both an assays and an se.rds file.

Usage

1
2
3
4
5
6
7
8
servermatrix(
  dn,
  sslver = FALSE,
  printmatrix = TRUE,
  verbose = FALSE,
  url = "https://recount.bio/data/",
  recursive = TRUE
)

Arguments

dn

Server data returned from RCurl.

sslver

Whether to use SSL certificate authentication for server connection (default FALSE).

printmatrix

Whether to print the data matrix to console (default TRUE).

verbose

Whether to show verbose messages (default FALSE).

url

Server website url.

recursive

Whether to recursively grab file sizes for h5se objects (default TRUE).

Value

dm matrix of server files and file metadata

See Also

get_rmdl

Examples

1
2
3
dn <- RCurl::getURL("https://recount.bio/data/", 
.opts = list(ssl.verifypeer = FALSE))
sm <- servermatrix(dn)

recountmethylation documentation built on Nov. 8, 2020, 4:59 p.m.