Skip to content
Snippets Groups Projects
Commit 0e768b53 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Fix library issues for R.

parent 805590f5
Branches
Tags
No related merge requests found
#!/bin/Rscript
# 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")
if(!require("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
......
#!/bin/Rscript
# Load libraries
source("http://bioconductor.org/biocLite.R")
if(!require("DiffBind")){
biocLite("DiffBind")
library("DiffBind")
}
library("DiffBind")
# Create parser object
args <- commandArgs(trailingOnly=TRUE)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment