servermatrix {recountmethylation} | R Documentation

## servermatrix

### 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

    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

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

[Package recountmethylation version 1.0.0 Index]