get_servermatrix: get_servermatrix

View source: R/download_db.R

get_servermatrixR 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 = "")

metamaden/recountmethylation documentation built on Jan. 5, 2023, 9:56 a.m.