databio / GenomicDistributions

Calculate and plot distributions of genomic ranges
http://code.databio.org/GenomicDistributions
Other
25 stars 10 forks source link

Determining which regions were labeled with each partition name #201

Open rrashford opened 2 years ago

rrashford commented 2 years ago

Hello!

For calcPartitions(), the result of the function is a dataframe with the frequency and frequency percent of each genomic feature for each of the supplied queries in my query list (e.g. enhancer makes up 20%, exon is 15%, fiveUTR is 10%, etc). Is there a way to call the GRanges list or data.frame or object that shows which of the input regions contributed to the different genomic features? I'm hoping to look just at the regions that were named as enhancers, but I don't know how to access which one of the input regions the function named as such.

Any help is appreciated!

kkupkova commented 2 years ago

Hi! At this point GenomicDistributions does not allow this functionality. But it could be something potentially available with the next release. Thank you for the raised issue, I will try to adjust the function outputs soon.