-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add new function and fix bugs #190
Conversation
Sorry to bother you. |
According to issue#192, PS: this function do not support to compare region in different types. It should all be the usage lay below:
|
Thank you very much. Wish you all the best in your scientific research. |
the features are good, but I don't like fun1, fun2, fun3, etc. We need to design a better API. For the gr, passing the gr to the txdb parameter is OK, as we did this in |
update usage lay below:
|
update 2022.6.2
(1) combine gr and txdb parameter: users can pass self-made gr to txdb.
(2) combine
plotPeakProf3()
,plotPeakProf2()
andplotPeakProf3()
: Users can useplotPeakProf()
to callplotPeakProf2()
andplotPeakProf3()
.The usage lay below.
------------------------------------------------------------------------------->
This pull request do following things:
(1) fix several bugs
(2) perfect the annotation of functions
(3) add test files for
getTagMatrix()
andplotTagMatrix()
(4)
getBioRegion()
can support UTR regions(3'UTR + 5'UTR), according to #189(5) add new function
makeBioRegionFromGranges()
to support make windows from self-made granges object, according to #189.getBioRegion()
can support UTR regions(3'UTR + 5'UTR)Now,
getBioRegion()
support UTR regionsmakeBioRegionFromGranges()
According to Feature requests about plotPeakProf2 #189, users will need to investigate insulator or enhancer regions, which can not be attained through
txdb
object. We add new functionmakeBioRegionFromGranges()
to support users investigate insulator or enhancer regions by using self-made granges object.These self-made granges object served the same role as txdb object. For example, users can prepare a granges object containing enhancer regions. And
makeBioRegionFromGranges()
can use these self-made granges object to produce the windows("start_site", "end_site" and "body")Also, we modify the
getTagMatrix()
to callmakeBioRegionFromGranges()
.plotPeakProf2()
is also adjusted to support self-made granges object