Skip to content

Commit

Permalink
man: document new arg
Browse files Browse the repository at this point in the history
  • Loading branch information
jefferis committed Oct 25, 2024
1 parent 40f800d commit 6cdc593
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion R/cosine.R
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ cf_cosine_plot <- function(ids=NULL, ..., threshold=5,


#' @importFrom dplyr distinct all_of
#' @param check_missing Whether to report if any query neurons are dropped (due
#' to insufficient partner neurons) (default:\code{TRUE}).
#' @rdname cf_cosine_plot
#' @export
#' @return \code{multi_connection_table} returns a connectivity dataframe as
Expand All @@ -307,7 +309,7 @@ multi_connection_table <- function(ids, partners=c("inputs", "outputs"),
missing_keys=setdiff(unique(kk), query_keys)
nmissing=length(missing_keys)
if(nmissing>0)
warning("Dropping ",nmissing, " keys. Try decreasing threshold!")
warning("Dropping ", nmissing, " keys. Try decreasing threshold!")

Check warning on line 312 in R/cosine.R

View check run for this annotation

Codecov / codecov/patch

R/cosine.R#L312

Added line #L312 was not covered by tests
}

return(l)
Expand Down
6 changes: 5 additions & 1 deletion 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 6cdc593

Please sign in to comment.