Skip to content
Snippets Groups Projects
Commit 0725c098 authored by Verweij, Stefan's avatar Verweij, Stefan
Browse files

Replace 7_Command_Lines_R.txt

parent ad607c3e
Branches
No related tags found
No related merge requests found
#Command Lines used to plot the bimodal distribution:
#Command Lines used to plot the bimodal distribution:
#The chosen input file contained the GC and GC3 values against their percentage in the CDS
#This example presents the GC3 plot, different parameters in stat_smooth were used for the GC plot
>GC3 <- read.table(choose.files(), h=T)
>ggplot(GC3, aes(GC3, CDS))
+geom_point()
+geom_lline(color=red)
+stat_smooth(method='lm',formula=y~poly(x^2,4),size=2,color='red')
+ggtitle(“B”)
#Command Lines used for randomization:
......@@ -19,4 +20,9 @@
+geom_point()
+geom_smooth(color="red",size=3)
+stat_function(fun=dnorm,color="grey")
+geom_point(data=NDobs,shape=21,color="black",fill="yellow",size=3,stroke=3)
\ No newline at end of file
+geom_point(data=NDobs,shape=21,color="black",fill="yellow",size=3,stroke=3)
#Command Lines used to plot GC3 content of loci harbouring mPing:
>GC3plotmPing <- read.table(choose.files(),h=T)
>ggplot(GC3plotmPing, aes(GC3, Appearance))+geom_point()+stat_smooth(method='lm',formula=y~poly(x^4,8),color='red',size=2)+ggtitle("590 loci harbouring mPing")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment