Skip to content

Instantly share code, notes, and snippets.

View fidelram's full-sized avatar

Fidel Ramirez fidelram

  • Boehringer Ingelheim Pharma GmbH & Co. KG
View GitHub Profile
@fidelram
fidelram / simple_scatter.ipynb
Last active September 13, 2018 07:47
scatter plots using scanpy
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fidelram
fidelram / marker_genes_visualization.ipynb
Last active March 6, 2019 07:34
example visualization of marker genes in clusters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fidelram
fidelram / make_hicexplore_spiral_plots.py
Created May 3, 2017 07:36
Code to create the images needed to compose the hicExplorer spiral tracks (http://hicexplorer.readthedocs.io/en/latest/_images/hicex2.png). Once the plots are generated they need to be put together using GIMP, Photoshop, or similar program. To run, HiCExplorer and ImageMagick need to be installed
import sys
import os
import hicexplorer.trackPlot
dpi = 350
#dpi = 50
increment = int(1.0e6)
start = int(3e6)
frac_decrease = 0.15 # fraction of decrease per image