Description Usage Arguments Details Value Author(s) References See Also Examples
strfit does hard wrapping, i.e. break within long words, wordwrap is a wrapper of strfit but also provides soft wrapping option, i.e. break only between words, and keep long words intact.
1 2 |
s |
characcter, strings to be wrapped or broken down. |
width |
integer, target line width in terms of number of characters. d width=20. |
break.word |
logical, whether to break within words or only between words as to fit
the line width. Default break.word=FALSE, i.e. keep words intact and only
break between words. Therefore, some line may exceed the |
These functions are called as to wrap long node labels into shorter
lines on pathway graphs in keggview.graph
function (when
keggview.native=FALSE). They are equally useful for wrapping long
labels in other types of graphs or output formats.
character of the same length of s
except that each element has
been wrapped softly or hardly.
Weijun Luo <luo_weijun@yahoo.com>
Luo, W. and Brouwer, C., Pathview: an R/Bioconductor package for pathway based data integration and visualization. Bioinformatics, 2013, 29(14): 1830-1831, doi: 10.1093/bioinformatics/btt285
strwrap
in R base.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.