get_servermatrix {recountmethylation} | R Documentation

## get_servermatrix

### Description

Get a matrix of server files. If the RCurl call fails, a matrix is loaded from the stored package files at 'sm_path'.

### Usage

    get_servermatrix(
      dn = NULL,
      sslver = FALSE,
      printmatrix = TRUE,
      url = "https://methylation.recount.bio/",
      verbose = FALSE,
      sm_path = system.file("extdata", "servermatrix_rda", package = "recountmethylation")
    )

### Arguments

`dn` | Server data returned from RCurl (default NULL).
`sslver` | Whether to use SSL certificate authentication for server connection (default FALSE).
`printmatrix` | Whether to print the data matrix to console (default TRUE).
`url` | Server website url (default "https://methylation.recount.bio/").
`verbose` | Whether to show verbose messages (default FALSE).
`sm_path` | Path to the servermatrix_rda dir containing the stored servermatrix files (default: system.file...).

### Value

Matrix of server files and file metadata

### See Also

servermatrix, get_rmdl, smfilt

### Examples

    sm <- get_servermatrix(url = "")

[Package recountmethylation version 1.2.3 Index]