## User: Charles Joly Beauparlant

Reputation:
160
Status:
Trusted
Location:
Website:
https://charlesjb.gith...
CharlesJolyB
Last seen:
5 months ago
Joined:
6 years, 10 months ago
Email:
c***********************@crchul.ulaval.ca

#### Posts by Charles Joly Beauparlant

<prev • 15 results • page 1 of 2 • next >
1
174
views
1
... Hello, The error happens when you have a region smaller than the bin_count parameter value. In your example, if genes is a GRanges object, you can test this by doing: summary(width(genes)) The min value should be smaller than 30. Depending on what you want to see with the metagene plot, you might c ...
written 5 months ago by Charles Joly Beauparlant160
2
447
views
2
... Here is a new dropbox link: https://www.dropbox.com/s/ryg9xzcffh0m2vp/bin_explanation.pdf?dl=0 I added a Imgur link in case the dropbox one dies again: https://imgur.com/wo0UGio   ...
written 13 months ago by Charles Joly Beauparlant160
1
264
views
1
... Hello JunLVI, Most function in the metagene object (except those starting with get_) silently returns the object itself to allow chaining. If you wish to extract the plot to customize it you can use the get_plot function after the plot() call. If you are familiar with ggplot2 and wish to have even ...
written 15 months ago by Charles Joly Beauparlant160
1
304
views
1
... Hello Anton, metagene does not support paired-end reads at the moment. If you use the design to group two paired bam files, it will treat them as replicates. Charles. ...
written 19 months ago by Charles Joly Beauparlant160
1
349
views
1
... Hello Anton, The simplest way to tweak the visual representation of the metagene plot is to extract the plot with the get_plot function and use standard ggplot2 functions: mg$plot(title = "test metagene plot") p <- mg$get_plot() p + ggplot2::theme(legend.position="bottom") Cheers! Charles. ...
written 19 months ago by Charles Joly Beauparlant160
1
320
views
1
... Hello Anton, By default, the strand orientation is not taken into account. But you do have the option to flip the regions based on the strand during the production of the matrices: mg <- metagene$new(regions = regions, bam_files = bam_files) mg$produce_matrices(flip_regions = TRUE) Cheers! ...
written 19 months ago by Charles Joly Beauparlant160
2
447
views
2
... Hello arinaldi, The problem you have is because metagene will try to split all the regions into 100 bins by defaults to make sure all the regions have the same size. In your data, some regions are probably smaller than 100 nucleotides, which is why there is the error message you saw. You have two ...
written 23 months ago by Charles Joly Beauparlant160
1
506
views
1
... I agree that it would make a lot of sense. And it should not be such a big change. But I have to prepare a test suite before adding it officially in the documentation/vignettes. I will also have to solve the ^ problem mentionned by Mike that is only applied to the first term. ...
written 2.2 years ago by Charles Joly Beauparlant160
1
506
views
1
... Sorry for the delay in the answer, I was out of town. I'd like to add some point to Mike's answers. About the usage of the | in a queryEncode call. The function was not meant to deal with boolean operators. But this is something I think would be interesting to add support for. I created an Issue ...
written 2.2 years ago by Charles Joly Beauparlant160
1
394
views
1
... Hi Hervé, What I meant is that if the user *only* provide a seeded motif through the Spwm arg, then it's not deterministic (a seeded motif but no seed). The seed arg should determine if the algorithm will be deterministic independently of the values of any other args. In the case of the OP, I ...
written 2.4 years ago by Charles Joly Beauparlant160

#### Latest awards to Charles Joly Beauparlant

Scholar 13 months ago, created an answer that has been accepted. For A: metagene: strand orientation of plot?
Teacher 2.1 years ago, created an answer with at least 3 up-votes. For A: metagene: paired-end bam as input
Teacher 2.1 years ago, created an answer with at least 3 up-votes. For A: metagene: strand orientation of plot?
Teacher 2.1 years ago, created an answer with at least 3 up-votes. For A: metagene: moving the legend
Scholar 2.1 years ago, created an answer that has been accepted. For A: metagene: paired-end bam as input
Scholar 2.1 years ago, created an answer that has been accepted. For A: metagene: strand orientation of plot?
Scholar 2.1 years ago, created an answer that has been accepted. For A: metagene: moving the legend

Content
Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.