Skip to content

Instantly share code, notes, and snippets.

Saulius Lukauskas lukauskas

Block or report user

Report or block lukauskas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View README-Stoltzman-PNAS-2008-S1.md

Stoltzman et al. PNAS 2008 Figure S1

This Github gist contains a CSV file of manually transcribed gene names from Figure S1 of Stoltzman et al. 2008 PNAS paper.

Another file containing the ENSEMBL gene identifiers matched to these ids has been produced via mygene.info API (Xin,2016)

References

  • Stoltzman, C., Peterson, C., Breen, K., Muoio, D., Billin, A., Ayer, D. (2008). Glucose sensing by MondoA:Mlx complexes: A role for hexokinases and direct regulation of thioredoxin-interacting protein expression Proceedings of the National Academy of Sciences 105(19), 6912-6917. https://dx.doi.org/10.1073/pnas.0712199105
@lukauskas
lukauskas / deeeptools-matrix-to-dataframe.md
Created Oct 10, 2019
Converting deeptools matrix to a pandas dataframe
View deeeptools-matrix-to-dataframe.md

Converting deeptools matrix to pd.DataFrame

from deeptools.heatmapper import heatmapper as deeptools_heatmapper
def read_deeptools_matrix_to_dataframe(matrix_filename):
    hm = deeptools_heatmapper()
    hm.read_matrix_file(matrix_filename)
    
    matrix = hm.matrix
    
@lukauskas
lukauskas / multipies.md
Last active Aug 28, 2019
Multiple Pie Charts
View multipies.md
%config InlineBackend.figure_format = 'retina'
%matplotlib inline

from matplotlib import pyplot as plt
PIE_SLICES = [
    [10, 20, 30, 40], # Pie 1 (arbitrary units, matplotlib will transform them to pct total.)
    [1, 1, 2, 2], # Pie 2
    [0.1, 0.8, 0.1], # Pie 3
]
@lukauskas
lukauskas / multipies.md
Created Aug 28, 2019
Multiple Pie Charts
View multipies.md
%config InlineBackend.figure_format = 'retina'
%matplotlib inline

from matplotlib import pyplot as plt
PIE_SLICES = [
    [10, 20, 30, 40], # Pie 1 (arbitrary units, matplotlib will transform them to pct total.)
    [1, 1, 2, 2], # Pie 2
    [0.1, 0.8, 0.1], # Pie 3
]
@lukauskas
lukauskas / multipies.md
Created Aug 28, 2019
Multiple Pie Charts
View multipies.md
%config InlineBackend.figure_format = 'retina'
%matplotlib inline

from matplotlib import pyplot as plt
PIE_SLICES = [
    [10, 20, 30, 40], # Pie 1 (arbitrary units, matplotlib will transform them to pct total.)
    [1, 1, 2, 2], # Pie 2
    [0.1, 0.8, 0.1], # Pie 3
]
@lukauskas
lukauskas / precrec.py
Created Aug 21, 2018
Wrapper around R's precrec package
View precrec.py
from rpy2.robjects import pandas2ri
from rpy2.robjects.packages import importr
import rpy2.robjects
import fa2
import gc
import pandas as pd
import numpy as np
View full_qstat.sh
#!/bin/bash
qstat -u '*' -ext
View Matplotlib scatter with half circles.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Seaborn Scattermap-Dotplot.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Imperial colour palette.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.