Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Feature request: flexible distance ranges in plotDistToTSS() #231

Open
perinom opened this issue Jan 24, 2024 · 0 comments
Open

Feature request: flexible distance ranges in plotDistToTSS() #231

perinom opened this issue Jan 24, 2024 · 0 comments

Comments

@perinom
Copy link

perinom commented Jan 24, 2024

Great tool, thanks a lot!

Quick question:
The distance bins used by plotDistToTSS() seem to be hard-coded into lines 52-55 of plotDistToTSS.R. Would it be possible to turn them into function parameters?

  ## assign Feature according to the distancetoFeature
   peakDist$Feature <- NA
   limit <- c(0, 1000, 3000, 5000, 10000, 100000)
   lbs <- c("0-1kb", "1-3kb", "3-5kb", "5-10kb", "10-100kb", ">100kb")

For species with small genomes (e.g. Fruit flies, yeast, C.elegans) these are huge distances and being able to customise them would be fantastic.

Thanks a lot!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant