Skip to content
Snippets Groups Projects

Resolve "Add in current chip-analysis functionality."

Merged Venkat Malladi requested to merge 15_Annotation_diff_bind into master
Viewing commit 0e768b53
Show latest version
2 files
+ 9
21
Preferences
File browser
Compare changes
#!/bin/Rscript
#!/bin/Rscript
# Load libraries
# Load libraries
 
library("ChIPseeker")
 
 
# Currently mouse or human
 
 
library("TxDb.Hsapiens.UCSC.hg19.knownGene")
 
library("TxDb.Mmusculus.UCSC.mm10.knownGene")
 
library("TxDb.Hsapiens.UCSC.hg38.knownGene")
 
source("http://bioconductor.org/biocLite.R")
source("http://bioconductor.org/biocLite.R")
if(!require("ChIPseeker")){
if(!require("ChIPseeker")){
biocLite("ChIPseeker")
biocLite("ChIPseeker")
library("ChIPseeker")
}
# Currently mouse or human
if (!require("TxDb.Hsapiens.UCSC.hg19.knownGene")){
biocLite("TxDb.Hsapiens.UCSC.hg19.knownGene")
library("TxDb.Hsapiens.UCSC.hg19.knownGene")
}
if (!require("TxDb.Mmusculus.UCSC.mm10.knownGene")){
biocLite("TxDb.Mmusculus.UCSC.mm10.knownGene")
library("TxDb.Mmusculus.UCSC.mm10.knownGene")
}
}
if (!require("TxDb.Hsapiens.UCSC.hg38.knownGene")){
biocLite("TxDb.Hsapiens.UCSC.hg38.knownGene")
library("TxDb.Hsapiens.UCSC.hg38.knownGene")
}
# Create parser object
# Create parser object