servermatrix {recountmethylation} | R Documentation |
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.
servermatrix( dn, sslver = FALSE, printmatrix = TRUE, verbose = FALSE, url = "https://recount.bio/data/", recursive = TRUE )
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). |
dm matrix of server files and file metadata
get_rmdl
dn <- RCurl::getURL("https://recount.bio/data/", .opts = list(ssl.verifypeer = FALSE)) sm <- servermatrix(dn)