Skip to content

Commit

Permalink
Eliminates last install.packages() call; Adresses #28
Browse files Browse the repository at this point in the history
  • Loading branch information
cgpu committed Feb 14, 2020
1 parent 28eaa70 commit 6d68b16
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions jupyter/Figure1cYarnVersion.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Heatplot representing similarity in the fold-changes between male and female samples, with the values in the heatmap being the correlation between the vectors of fold changes of the tissues</b>"
"A `heatplot` representing similarity in the fold-changes between male and female samples, with the values in the heatmap being the correlation between the vectors of fold changes of the tissues. </b>"
]
},
{
Expand All @@ -25,18 +25,6 @@
"merged related sub-tissues, performed tissue-aware normalization using qsmooth (Hicks et al, 2017)."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Capture bash command output in a variable\n",
"# StackOverflow find here: https://stackoverflow.com/questions/11098277/store-output-of-system-command-into-a-variable-in-r\n",
"condaenvs<-system(\"conda env list\", intern = TRUE)\n",
"condaenvs"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -54,7 +42,9 @@
"library(readr)\n",
"library(biomaRt)\n",
"library(DBI) # v >= 1.1.0 required for biomaRt\n",
"library(devtools)"
"library(devtools)\n",
"library(yarn)\n",
"Sys.setenv(TAR = \"/bin/tar\") # for gzfile"
]
},
{
Expand All @@ -77,7 +67,7 @@
"metadata": {},
"outputs": [],
"source": [
"library(yarn)\n",
"# CAUTION! It requires some minutes to complete, also memory and enough storage\n",
"obj <- yarn::downloadGTExV8(type='genes',file='data/gtex.rds')"
]
},
Expand All @@ -94,7 +84,7 @@
"metadata": {},
"outputs": [],
"source": [
"summary(obj)"
"class(obj)"
]
},
{
Expand Down

0 comments on commit 6d68b16

Please sign in to comment.