@@ -133,8 +133,10 @@ dens.mat <- sapply(fileNames, function(x){
133
133
plain.hist(data ,
134
134
main = sprintf(" Read Count Distribution Plot (%s)" ,subName ));
135
135
dummy <- dev.off();
136
+ par(mar = c(5.5 ,6.5 ,2.5 ,1.5 ));
136
137
sequence.hist(data ,
137
138
main = sprintf(" Read Length Distribution Plot (%s)" ,subName ));
139
+ par(mar = c(5.5 ,1.5 ,2.5 ,6.5 ));
138
140
plain.hist(data ,
139
141
main = sprintf(" Read Count Distribution Plot (%s)" ,subName ));
140
142
res.out ;
@@ -300,10 +302,10 @@ bpdens.mat <- dens.mat * 10^as.numeric(rownames(dens.mat));
300
302
ylab = " " );
301
303
for (col in seq_len(ncol(bpdens.mat ))){
302
304
points(as.numeric(rownames(bpdens.mat )),bpdens.mat [,col ] /
303
- sum(bpdens.mat [,col ]), type = " l" , lwd = 3 ,
305
+ sum(bpdens.mat [,col ]), type = " l" , lwd = 5 ,
304
306
col = hcl(h = col / ncol(bpdens.mat )* 360 , l = 70 , c = 80 ));
305
307
}
306
- legend(" topleft" , cex = 0.71 , legend = colnames(bpdens.mat ), ncol = ceiling(ncol(bpdens.mat )/ 16 ),
308
+ legend(" topleft" , cex = 1.5 , legend = colnames(bpdens.mat ), ncol = ceiling(ncol(bpdens.mat )/ 16 ),
307
309
fill = hcl(h = (1 : ncol(bpdens.mat ))/ ncol(bpdens.mat )* 360 , l = 70 , c = 80 ),
308
310
inset = 0.05 );
309
311
mtext(" Base Density (arbitrary scale)" ,2 ,3 );
@@ -382,10 +384,10 @@ bpdens.mat <- dens.mat * 10^as.numeric(rownames(dens.mat));
382
384
ylab = " " );
383
385
for (col in seq_len(ncol(bpdens.mat ))){
384
386
points(as.numeric(rownames(bpdens.mat )),bpdens.mat [,col ] /
385
- sum(bpdens.mat [,col ]), type = " l" , lwd = 3 ,
387
+ sum(bpdens.mat [,col ]), type = " l" , lwd = 4 ,
386
388
col = hcl(h = col / ncol(bpdens.mat )* 360 , l = 70 , c = 80 ));
387
389
}
388
- legend(" topleft" , cex = 0.71 , legend = colnames(bpdens.mat ), ncol = ceiling(ncol(bpdens.mat )/ 16 ),
390
+ legend(" topleft" , cex = 1.5 , legend = colnames(bpdens.mat ), ncol = ceiling(ncol(bpdens.mat )/ 16 ),
389
391
fill = hcl(h = (1 : ncol(bpdens.mat ))/ ncol(bpdens.mat )* 360 , l = 70 , c = 80 ),
390
392
inset = 0.05 );
391
393
mtext(" Base Density (arbitrary scale)" ,2 ,3 );
0 commit comments