Skip to content

Commit 913bc8c

Browse files
statistic plot using R
1 parent 4b26e92 commit 913bc8c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

sensor_plot.R

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
2+
library(plotrix)
3+
par(bty="n") # deleting the box
4+
x = sensor$X
5+
y= sensor$seed_mer_length
6+
from <- 155542
7+
to <- max(sensor$seed_mer_length)-100000
8+
gap.plot(x, y, gap=c(from,to), gap.axis="y",type="a", xlab="Nodes in path", ylab="No. of fragments in target node",xlim = c(0,length(sensor$X)),
9+
ylim = c(10,max(sensor$seed_mer_length)),add = TRUE)
10+
axis.break(2, from, breakcol="snow", style="gap")
11+
axis.break(2, from*(1+0.02), breakcol="black", style="slash")
12+
axis(2, at=from)
13+

0 commit comments

Comments
 (0)