## ----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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.