Git Product home page Git Product logo

anvbiocfhir's Introduction

AnvBiocFHIR

This README is updated 29 May 2022.

A thorough introduction to FHIR in the NIH Cloud Interoperability project is provided in a jupyter notebook last edited in July 2020.

In the RStudio console, in May 2022, use

pip install pyAnVIL==0.1.1rc2
pip install git+https://github.com/smart-on-fhir/client-py#egg=fhirclient==4.0.0

to obtain necessary infrastructure.

The R package at github.com/vjcitn/AnvBiocFHIR uses basilisk to pin down all details of python infrastructure used to interface to the FHIR services in AnVIL.

Installation steps

Ensure that the .Renviron file in the home folder has a line PIP_USER=false.

Verify that the setting of PIP_USER is "false" using Sys.getenv("PIP_USER").

Install the package:

BiocManager::install("vjcitn/AnvBiocFHIR")

Instantiate the python infrastructure with

x = try(AnvBiocFHIR::abfhir_demo()) 

This will take some time to construct a conda environment.

Evaluate x to see a list of two Module objects produced by reticulate.

Demonstration

library(AnvBiocFHIR)
example(connect_smart)

On 29 May 2022 the result is

> unlist(lapply(res[1:5], function(x) x$id))
[1] "AnVIL-CMG-Broad-Muscle-Myoseq-WES"       
[2] "AnVIL-CMG-Broad-Orphan-Estonia-Ounap-WGS"
[3] "AnVIL-CMG-Broad-Brain-Gleeson-WES"       
[4] "AnVIL-CMG-Broad-Muscle-Topf-WES"         
[5] "AnVIL-CCDG-Broad-CVD-AFib-Duke-WGS"     

anvbiocfhir's People

Contributors

vjcitn avatar

Watchers

James Cloos avatar  avatar  avatar

anvbiocfhir's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.