Skip to content

Instantly share code, notes, and snippets.

I may be slow to respond.

Francesco G. Brundu fbrundu

I may be slow to respond.
View GitHub Profile
import as sio
import pandas as pd
#Load Data
data = sio.loadmat('<your path>/GSM3017261_150000_CNS_nuclei.mat')
#Digital Expression Matrix
DGE = data['DGE']
daler / LICENSE
Last active Nov 28, 2020
Plot chromosome ideograms along with other genomic data
The MIT License (MIT)
Copyright (c) 2016 Ryan Dale
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
kantale /
Created Mar 2, 2015
Plot chromosome Ideograms with karyotype with matplotlib
import os
import matplotlib
from matplotlib.patches import Circle, Wedge, Polygon, Rectangle
from matplotlib.collections import PatchCollection
import matplotlib.pyplot as plt
def karyoplot(karyo_filename, metadata={}, part=1):
To create a karyo_filename go to:
kdaily / symbol2cytoband.R
Created Apr 3, 2014
Get the chromosomal location and cytoband for list of HGNC gene symbols using biomaRt
View symbol2cytoband.R
# Code snippet to get chromosomal position and cytoband from gene symbols using
# biomaRt
# Kenneth Daily, 2014
ensembl <- useMart("ensembl", dataset = "hsapiens_gene_ensembl")
# Only use standard human chromosomes
normal.chroms <- c(1:22, "X", "Y", "M")
You can’t perform that action at this time.