inst/doc/simple.R

## ----setup, include=FALSE------------------------------------------------
knitr::opts_chunk$set(echo = TRUE)

## ------------------------------------------------------------------------
library(rh5pydclient)

## ------------------------------------------------------------------------
initPython()

## ------------------------------------------------------------------------
conn <- initConn(domain='/home/stvjc/tenx_full.h5', mode='r', endpoint='http://52.4.181.237:5101')

## ------------------------------------------------------------------------
D <- getDataset(conn, 'newassay001')

## ------------------------------------------------------------------------
A <- getSubmatrix(D, c('200:300:1', '400:600:1'))
sum(A)    # should be 2848
sampoll/rh5pydclient documentation built on May 3, 2019, 3:41 p.m.