This file is indexed.

/usr/lib/R/site-library/geneplotter/doc/byChroms.R is in r-bioc-geneplotter 1.56.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
### R code from vignette source 'byChroms.Rnw'

###################################################
### code chunk number 1: loaddata
###################################################

 library("annotate")
 library("hu6800.db")
 lens <- unlist(eapply(hu6800CHR, length))

 table(lens)
 wh2 = mget(names(lens)[lens==2], env = hu6800CHR)

 wh2[1]


###################################################
### code chunk number 2: fixdata
###################################################
chrs2 <- unlist(eapply(hu6800CHR, function(x) x[1]))
chrs2 <- factor(chrs2)
length(chrs2)
 table(unlist(chrs2))


###################################################
### code chunk number 3: strandloc
###################################################

 strand <- as.list(hu6800CHRLOC)

 splits <- split(strand, chrs2)
 length(splits)
 names(splits)



###################################################
### code chunk number 4: chrloc
###################################################

 newChrClass <- buildChromLocation("hu6800")



###################################################
### code chunk number 5: cPlot
###################################################

  library(geneplotter)

  cPlot(newChrClass)