BiocStyle::markdown()
Sys.setenv("CCLEDB_PATH"="/Users/stvjc/Research/CCLE_CHAPMAN/CellLineData.db")
suppressPackageStartupMessages({
library(ccleR6)
})

Introduction

A large indexed SQLite database has been created by Phil Chapman to represent CCLE, Achilles, and other integrative data sources relevant to cancer biology.

This document describes some approaches to user interface design. We indicate how to

For this code to work you need to have the environment variable CCLEDB_PATH defined to give the path to the SQLite file.

An R6 interface

I believe that an object that is somewhat fleshed out relative to the database view provided by dplyr will come in handy. Therefore I defined a reference class and have lightly populated it with some identifier vectors.

ccle = ccledb$new(.ccleSrc)
ccle

This can be serialized, but the database connection needs to be refreshed on load.

The "guide vectors" are created as hints on vocabularies in use.

"BRAF" %in% ccle$cngenes  # copy number gene list

Some guided filters

We have defined a number of filter functions to simplify common subsetting operations.

ccle$src %>% filter_compound("Irinotecan")
ccle$src %>% filter_organ("breast")
ccle$src %>% filter_Histology_patt("%wing%")

Widgets

Two displays of the Barettina paper (Figures 4a [lower dotplot with sensitivity against line] and 4c) can be approached interactively using the multiWidget function. Briefly, multiWidget(ccle) will generate a browser window with two panes, concatenated on one page. The first one allows selection of a gene for which hybrid capture mutation information has been obtained, and a compound. The IC50s for cell lines with hybrid capture data are ordered and displayed. The second panel allows selection of a gene whose expression will be summarized across primary tumor sites.

library(grid)
library(png)
im = readPNG("images/shinyDemo.png")
grid.raster(im)

To do

The vocabularies used for cell lines and tumor anatomy are complicated and need harmonization and streamlining.

Full dose-response information is available and should be exposed.

Interfaces for filters and joins need to be specified and deployed for common use cases.

Additional interactivity such as tooltips over points that can describe mutation profiles.



vjcitn/ccleR6 documentation built on May 3, 2019, 6:14 p.m.