Skip to content

Commit f501c7e

Browse files
committed
annotate the functions
1 parent 6768aa4 commit f501c7e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

WSS28model/Dia plots/Dia2CircularPlots.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ detritus <- c("Detritus", "Discards")
5555
mod_C <- brewer.pal(9,"Set1")
5656

5757
# Function for any of these models
58+
# This is Geret's original pdf maker
5859

5960
pdfmod <- function(modadjmat, plotname){
6061

@@ -142,6 +143,8 @@ pdfmod <- function(modadjmat, plotname){
142143
pdfmod(fullmod, "Fullmodel")
143144
pdfmod(smallestmod, "Smallmodel")
144145

146+
# this function plots individual models on their own scale, not great for comparisons
147+
145148
plotmod <- function(modadjmat, plotname){
146149

147150
mod_Colors <- data.frame(row.names(modadjmat))
@@ -228,6 +231,9 @@ plotmod <- function(modadjmat, plotname){
228231
plotmod(fullmod, "Full model")
229232
plotmod(smallestmod, "Smallest model")
230233

234+
235+
# This function plots the full model but only colors links in the compared model.
236+
231237
plotdiff <- function(full, comp, compname){
232238

233239
mod_Colors <- data.frame(row.names(full))

0 commit comments

Comments
 (0)