Question: shiftApply verbosity (in ChIPQC)
gravatar for liz.ingsimmons
3.7 years ago by
liz.ingsimmons140 wrote:

Is it possible to provide a switch for verbosity in ChIPQC that is passed on to the use of shiftApply? Or for shiftApply's output to respond to suppressMessages?

If I use ChIPQC inside an Rmd document, I get many lines like this in the output:

Calculating shift for chr1





I think I've tracked this down to a call to shiftApply with verbose=TRUE.

This output is not suppressed when wrapping ChIPQC in suppressMessages(). It's fine when running interactively, i.e. it doesn't print a new line for each iteration, but when run inside an Rmd it produces many lines of output which are annoying to scroll through. It'd be great to be able to suppress this with suppressMessages(), or turn it off with a verbosity switch. It seems like shiftApply uses cat() to print the message, I'm not sure if it's possible to keep the same behaviour when running interactively  (i.e. updating the iteration number on the same line) if using message() instead.

I'm not sure whether this is better dealt with at the S4Vectors or ChIPQC level.

chipqc s4vectors • 578 views
ADD COMMENTlink modified 3.5 years ago by Thomas Carroll400 • written 3.7 years ago by liz.ingsimmons140
Answer: shiftApply verbosity (in ChIPQC)
gravatar for Thomas Carroll
3.5 years ago by
United States/New York/The Rockefeller University
Thomas Carroll400 wrote:

hi Liz,


I have added added an option for verbosity in ChIPQC version 1.8.1.

If you run ChIPQCsample with "verbosityT=FALSE" then ChIPQC should run quietly.

Hope that is better for reports.





ADD COMMENTlink written 3.5 years ago by Thomas Carroll400
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 235 users visited in the last hour