API Documentation¶
epitome Module¶
epitome is a computational model for predicting ChIP-seq peaks in a new cell type from chromatin accessibility and known ChIP-seq peaks from ENCODE. This module also includes scripts for processing ENCODE peaks.
Models¶
|
Model for learning from ChIP-seq peaks. |
|
Helper functions¶
|
Downloads a url to local destination, unzips it and deletes zip. |
|
Loads bed file in as a pyranges object. |
|
Selects n rows from data that have the greatest number of labels (can be weighted) Returns indices to these rows. |
|
Gets indices for a given radius r in both directions from index i. |
Vizualization functions¶
|
Returns seaborn joint plot of two models. |
|
Plots a matrix of available assays from available cells. |
Plots seaborn heatmap for DNase weights of first layer in network. |
|
|
Creates an xy scatter plot for predicted probability vs true probability. |
EpitomeDataset¶
|
Dataset for holding Epitome data. |
Data Generator Functions¶
|
Takes Deepsea data and calculates distance metrics from cell types whose locations are specified by label_cell_indices, and the other cell types in the set. |
|
Generates a tensorflow dataset from a data generator. |
Conversion¶
|
Class for dealing with genomic region conversions. |