source("https://bioconductor.org/biocLite.R") biocLite("rcellminer") biocLite("rcellminerData")
Open Rproj file in RStudio
if (!"devtools" %in% installed.packages()) install.packages("devtools")
setRepositories(ind=1:6)
library(devtools)
install_bitbucket("cbio_mskcc/rcellminerelasticnet",
auth_user="discoverUser",
password="discoverUserPassword",
build_vignettes=FALSE,
dependencies=TRUE,
args="--no-multiarch")
# Custom pheatmap version
install_github("cannin/pheatmap", dependencies=TRUE)
Open vignette (Rmd files) from vignettes/ folder and use "Knit HTML" button to generate the HTML file.
wget -r -nH -N -R index.html http://cmuser:eeX3aishoo@sanderlab.org/swathAnalysis/
library(knitr); purl(file.path("vignettes", "checkEnData.Rmd"), output=file.path("vignettes", "checkEnData.R")) library(knitr); purl(file.path("vignettes", "makeEnResultsHeatmap.Rmd"), output=file.path("vignettes", "makeEnResultsHeatmap.R")) library(knitr); purl(file.path("vignettes", "makeEnResultsTable.Rmd"), output=file.path("vignettes", "makeEnResultsTable.R"))
grep -h "## Error" *.html | sort -u
## Error in .Method(..., na.last = na.last, decreasing = decreasing): argument 1 is not a vector
## Error in apply(cvFoldEnPredictorWts, MARGIN = 1, FUN = function(x) {: dim(X) must have a positive length
## Error in kable_markdown(x = structure(character(0), .Dim = c(0L, 0L), .Dimnames = list(: the table must have a header (column names)
## Error in sqrt(elNetResults$fullEnCvResults$cvPredRsqared): non-numeric argument to mathematical function
## Error: identical(names(reducedFeatureSetAvgWts), names(reducedFeatureSetNonzeroWtPct)) is not TRUE
Errors from missing data
## Error in molDB[[molDBType]][paste0(molDBType, includeFeatures), ]: subscript out of bounds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.