11.07.2015 Views

Package 'pathview' - Bioconductor

Package 'pathview' - Bioconductor

Package 'pathview' - Bioconductor

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

28 wordwrapwordwrapWrap or break strings into lines of specified widthDescriptionstrfit does hard wrapping, i.e. break within long words, wordwrap is a wrapper of strfit but alsoprovides soft wrapping option, i.e. break only between words, and keep long words intact.Usagewordwrap(s, width = 20, break.word = FALSE)strfit(s, width = 20)Argumentsswidthbreak.wordcharaccter, strings to be wrapped or broken down.integer, target line width in terms of number of characters. d width=20.logical, whether to break within words or only between words as to fit the linewidth. Default break.word=FALSE, i.e. keep words intact and only break betweenwords. Therefore, some line may exceed the width limit.DetailsThese functions are called as to wrap long node labels into shorter lines on pathway graphs inkeggview.graph function (when keggview.native=FALSE). They are equally useful for wrappinglong labels in other types of graphs or output formats.Valuecharacter of the same length of s except that each element has been wrapped softly or hardly.Author(s)Weijun Luo ReferencesLuo, W. and Brouwer, C., Pathview: an R/<strong>Bioconductor</strong> package for pathway based data integrationand visualization. Bioinformatics, 2013, 29(14): 1830-1831, doi: 10.1093/bioinformatics/btt285See Alsostrwrap in R base.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!