Commit 55e7f3d8 authored by Aurelien Brionne's avatar Aurelien Brionne
Browse files

update

parent 38158545
......@@ -4,7 +4,7 @@
#' @importFrom AnnotationDbi select keys as.data.frame metadata
#' @importFrom GenomicFeatures promoters transcripts fiveUTRsByTranscript threeUTRsByTranscript exonsBy intronsByTranscript cdsBy
#' @importFrom GenomicRanges flank
#' @import rtracklayer
#' @importFrom rtracklayer import
#' @importFrom BiocGenerics as.data.frame
#' @importFrom methods new
#' @import data.table
......
......@@ -225,7 +225,7 @@ setMethod("genome_features_overlaps",definition=function(peaks,features,figs_pat
# merge with overlapped features
annot<-merge(
annot,
features@gene_table[,.(type,gene_name,transcript_id,gene_id)],
base::unique(features@gene_table[!is.na(transcript_id),.(type,gene_name,transcript_id,gene_id)]),
by.x="tx_name",
by.y="transcript_id",
all.x=T,
......
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