Commit bf44e5a7 authored by Aurelien Brionne's avatar Aurelien Brionne
Browse files

correction of promoter downstream range

parent d4c5aff8
......@@ -58,8 +58,7 @@
setGeneric(name="build_genome_features",def=function(txdb,features=base::c("promoter","UTR5","UTR3","exon","intron","cds","downstream"),
parameters=base::list(promoter_ranges=base::list(upstream=3000,downstream=500),downstream_range=1000)){standardGeneric("build_genome_features")})
setMethod("build_genome_features",definition=function(txdb,features=base::c("promoter","UTR5","UTR3","exon","intron","cds","downstream"),
parameters=base::list(promoter_ranges=base::list(upstream=3000,downstream=500),downstream_range=1000)) {
setMethod("build_genome_features",definition=function(txdb,features,parameters) {
###################
# check txdb
......@@ -94,7 +93,7 @@ parameters=base::list(promoter_ranges=base::list(upstream=3000,downstream=500),d
promoters <- GenomicFeatures::promoters(
txdb,
upstream=parameters$promoter_ranges$upstream,
downstream=parameters$promoter_ranges$upstream
downstream=parameters$promoter_ranges$downstream
)
###################
......
Markdown is supported
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