Skip to content

Commit

Permalink
additional sample code for plotting dendrograms
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed Mar 30, 2024
1 parent 05999a3 commit 72d6cf5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions R/cosine.R
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,12 @@ is.mct <- function(x) {
#' lalmeta=cf_meta(lalhc$labels)
#' lalmeta=coconat::add_cluster_info(lalmeta, lalhc, h=0.75)
#'
#' # plot results in a big dendrogram
#' pdf("lalhc.pdf", width = 150,height = 20, family = 'Courier')
#' plot(lalhc, labels=glue::glue("{type}_{abbreviate_datasets(dataset)}{side}",
#' .envir =lalmeta), hang = -.01, cex=.7)
#' dev.off()
#'
#' # look at the results interactively
#' cf_cosine_plot(cf_ids("/type:LAL.+"), interactive=TRUE)
#' }
Expand Down
6 changes: 6 additions & 0 deletions man/cf_cosine_plot.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 72d6cf5

Please sign in to comment.