Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

simpleFragFig

Simple figure showing line from start- to end-sites of edges (or fragments) defined by their start- and end-sites simpleFragFig draws figure showing start- and end-sites of edges (or fragments)


Description

Simple figure showing line from start- to end-sites of edges (or fragments) defined by their start- and end-sites

simpleFragFig draws figure showing start- and end-sites of edges (or fragments)

Usage

simpleFragFig(
  frag,
  fullSize = NULL,
  sortByHead = TRUE,
  useTit = NULL,
  useCol = NULL,
  displNa = TRUE,
  useCex = 0.7
)

Arguments

frag

(matrix) 2 columns defining begin- and end-sites (as interger values)

fullSize

(integer) optional max size used for figure (x-axis)

sortByHead

(logical) sort by begin-sites (if TRUE) or sort by end-sites

useTit

(character) custom title

useCol

(character) specify colors, if numeric vector will be onsidered as score values

displNa

(character) display names of edges (figure may get crowded)

useCex

(numeric) expansion factor, see also par

Value

matrix with mean values

See Also

Examples

frag2 <- cbind(beg=c(2,3,7,13,13,15,7,9,7, 3,7,5,7,3),end=c(6,12,8,18,20,20,19,12,12, 4,12,7,12,4)) 
rownames(frag2) <- c("A","E","B","C","D","F","H","G","I", "J","K","L","M","N")
simpleFragFig(frag2,fullSize=21,sortByHead=TRUE) 
buildTree(frag2)

wrMisc

Analyze Experimental High-Throughput (Omics) Data

v1.5.4
GPL-3
Authors
Wolfgang Raffelsberger [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.