This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
html { | |
font-size: 62.5% !important; } | |
body { | |
font-size: 1.5em !important; /* currently ems cause chrome bug misinterpreting rems on body element */ | |
line-height: 1.6 !important; | |
font-weight: 400 !important; | |
font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif !important; | |
color: #222 !important; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.CodeMirror, div.prompt.input_prompt, div.prompt.output_prompt, pre { | |
font-family: "Inconsolata for Powerline"; | |
font-size: 100%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw | |
LjExNzY0NzA1ODggMC4xMjk0MTE3NjQ3IDAuMTUyOTQxMTc2NQAQAYAC0hAREhNaJGNs | |
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import logging as log | |
import pandas as pd | |
import requests as rq | |
class TCGA: | |
def __init__(self, gdc_url='https://gdc-api.nci.nih.gov', per_page=100, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias R="<path_to_R>/R-X.Y.Z/bin/R" | |
export R_LIBS="<path_to_R>/packages" | |
export PATH="<path_to_R>/R-X.Y.Z/bin:${PATH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%% | |
# Compute posterior of theta from coin tosses | |
#%% | |
%config InlineBackend.figure_format = 'retina' | |
#%% | |
from matplotlib import pyplot as plt | |
import numpy as np | |
import seaborn as sns |
OlderNewer