Learn R Programming

magmaR (version 1.0.3)

R-Client for Interacting with the 'UCSF Data Library'

Description

A client for interacting with 'magma', the data warehouse of the 'UCSF Data Library'. 'magmaR' includes functions for querying and downloading data from 'magma', in order to enable working with such data in R, as well as for uploading local data to 'magma'.

Copy Link

Version

Install

install.packages('magmaR')

Monthly Downloads

634

Version

1.0.3

License

GPL-2

Maintainer

Daniel Bunis

Last Published

January 25th, 2024

Functions in magmaR (1.0.3)

query

Search-like function that can obtain linked data from distinct models.
magmaRset

Set up your magma environment and authentication
retrieveMatrix

Download data from magma that is stored as a matrix
authentication-and-environments

Starting out and working with different Etna environments
retrieveJSON

Download data from magma as a json, and convert to a list
retrieveProjects

Helper function that retrieves all the projectName options which a user has access to, from janus.
retrieve

Download data from magma as a tsv, and convert to a data.frame
updateFromDF

Easier to use wrapper of updateValues
retrieveMetadata

Download data from magma of one model, but transformed into the shape of a different model's records.
retrieve_SpecialCases

Helper functions that utilize special cases of magma /retrieve
updateMatrix

A matrix-specific wrapper of updateValues
updateValues

Analogous to the '/update' function of magma