Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Commit

Permalink
Figure 4 changed
Browse files Browse the repository at this point in the history
  • Loading branch information
emm13 committed Jul 18, 2018
1 parent b89cbb5 commit c82f12d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Binary file modified Figures/Figure4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions biopep.pub.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -784,17 +784,16 @@ hek.idr = readRDS("Input/HEK293-with-IDR-VSL2b-and-PTMs.rds")
# Figure 4A: Number IDRs vs Number PTMs
#--------------------------------------
pdf(paste(outdir,paste("Figure4A","Num.idrs.vs.num.ptms_HEK293-vs-biotin.pdf",sep="_"),sep="/"),paper="a4r",width=12,height=8)
cor.hek = ggscatter(hek.idr, x = "number.of.idrs", y = "tot.ptms",
cor.hek = ggscatter(hek.idr, x = "number.of.idrs", y = "tot.ptms",
add = "reg.line", conf.int = TRUE,
cor.coef = TRUE, cor.method = "pearson",
xlab = NULL, ylab = NULL, cor.coeff.args=list(method = "pearson", label.x.npc = "center", label.y.npc = "top"),cor.coef.size=8)
xlab = FALSE, ylab = FALSE, cor.coeff.args=list(method = "pearson", label.x.npc = "center", label.y.npc = "top"),cor.coef.size=8,font.tickslab = 16)
cor.meta = ggscatter(metadat[which(metadat$caller.name == "VSL2b"),], x = "number.of.idrs", y = "tot.ptms",
add = "reg.line", conf.int = TRUE,
cor.coef = TRUE, cor.method = "pearson",
xlab = NULL, ylab = NULL,cor.coeff.args = list(method = "pearson", label.x.npc = "center", label.y.npc = "top"),cor.coef.size=8)
xlab = FALSE, ylab = FALSE,cor.coeff.args = list(method = "pearson", label.x.npc = "center", label.y.npc = "top"),cor.coef.size=8,font.tickslab = 16)
ggarrange(cor.hek,cor.meta,
labels = c("(i)", "(ii)"),
ggarrange(cor.hek,cor.meta,
ncol = 1, nrow = 2)
dev.off()
Expand Down

0 comments on commit c82f12d

Please sign in to comment.