Skip to content

Commit

Permalink
fix examples for cosine_plot/matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed Feb 18, 2023
1 parent fa92b5a commit 173232d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions R/cosine.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ check_coconat <- function() {
#' @export
#' @seealso \code{\link{neuprint_cosine_plot}}
#' @examples
#' \dontrun{
#' neuprint_cosine_matrix("/lLN2.+", grepl("PN",type), partners='in')
#' \donttest{
#' neuprint_cosine_matrix("/DA[1-3].*PN", grepl("ORN",type), partners='in')
#' }
neuprint_cosine_matrix <- function(ids, ..., threshold=5,
partners = c("outputs", "inputs"),
Expand Down Expand Up @@ -106,7 +106,7 @@ neuprint_cosine_matrix <- function(ids, ..., threshold=5,
#' @seealso \code{\link{neuprint_cosine_matrix}}
#' @examples
#' \donttest{
#' neuprint_cosine_matrix("/DA[1-3].*PN", grepl("ORN",type), partners='in')
#' neuprint_cosine_plot("/DA[1-3].*PN", partners='in')
#' }
#' \dontrun{
#' # Considering all partners
Expand Down
4 changes: 2 additions & 2 deletions man/neuprint_cosine_matrix.Rd

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

2 changes: 1 addition & 1 deletion man/neuprint_cosine_plot.Rd

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

0 comments on commit 173232d

Please sign in to comment.