Skip to content

Instantly share code, notes, and snippets.

mbarnkob

Block or report user

Report or block mbarnkob

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 2016-Hazard-ratio-in-ggplot2
### Visualization of hazard ratio's in TCGA data based on a single gene
### =================
# Goal: To visualize survival data (deaths) based on the expression level of a single gene
# as either high or low, and the hazard ratio between those two.
# Date: 2016-10-30
# Author: Mike Barnkob, www.mikebarnkob.dk
### Data
@mbarnkob
mbarnkob / 2016-Nature-Journal-Scrape-Capti.R
Created Feb 13, 2016
A script to scrape Nature Immunology "news and views" text files and convert them to a format, # thats easier to listen to in Capti (https://www.captivoice.com/capti-site/). More info here: http://mikebarnkob.dk/2016/an-r-script-for-scraping-news-from-nature-journals-to-capti-narrator
View 2016-Nature-Journal-Scrape-Capti.R
# Script to convert Nature articles into Capti text files
# A script to scrape Nature Immunology "news and views" text files and convert them to a format,
# thats easier to listen to in Capti (https://www.captivoice.com/capti-site/). Does the following:
# 1. Add "Title " in front of title, "Author " in front of author, "Abstract " in front of abstract, "Text " in front of text
# 2. Removes references and website links
# 3. Remove figure texts.
# Version 1
@mbarnkob
mbarnkob / 2014-Barnkob-Frontiers_in_Genetics.R
Last active Jan 2, 2016
R code for analysing half-life data and Monte Carlo analysis used in Barnkob et al, Frontiers in Genetics, 2014.
View 2014-Barnkob-Frontiers_in_Genetics.R
#CODE FOR Barnkob et al, Frontiers in Genetics, 2014 article
#Mike Barnkob, 2014.
#www.mikebarnkob.dk
#ANALYSIS of mRNA-PROTEIN HALF-LIFE DATA
#=======================================
#Info and packages
#===========
@mbarnkob
mbarnkob / RArticleNetwork.R
Last active Mar 12, 2018
R code for generating a network of referring articles from pubmed. More info here: http://mikebarnkob.dk/2015/generating-an-article-network-using-rentrez-and-igraph-in-r/
View RArticleNetwork.R
#Article Network ver 2
#============================
# This program will scrape all citing articles surrounding one main article and
# create: 1) a list of most cited articles, 2) lists of main authors, 3) network of articles
# Mike Barnkob, December 28th 2015.
# www.mikebarnkob.dk
#Background and references
#1. https://cran.r-project.org/web/packages/rentrez/vignettes/rentrez_tutorial.html#advanced-counting
You can’t perform that action at this time.