diff --git a/NEWS.md b/NEWS.md index c88aae4..ac133a8 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,8 @@ ## Bug fixes * Fix tests expecting fixed number of phenotypes. +* Vignette + - `HPOExplorer`: Fix rendering of final plot. # HPOExplorer 1.0.3 diff --git a/man/hpo_to_matrix.Rd b/man/hpo_to_matrix.Rd index 5c702ba..8f9b5f8 100644 --- a/man/hpo_to_matrix.Rd +++ b/man/hpo_to_matrix.Rd @@ -28,7 +28,7 @@ to gene annotations.} \item{formula}{A formula of the form LHS ~ RHS to cast, see Details.} -\item{fun.aggregate}{Should the data be aggregated before casting? If the formula doesn't identify a single observation for each cell, then aggregation defaults to \code{length} with a message. +\item{fun.aggregate}{Should the data be aggregated before casting? If the formula doesn't identify a single observation for each cell, then aggregation defaults to \code{length} with a warning of class 'dt_missing_fun_aggregate_warning'. To use multiple aggregation functions, pass a \code{list}; see Examples. } @@ -36,7 +36,7 @@ to gene annotations.} Cast multiple \code{value.var} columns simultaneously by passing their names as a \code{character} vector. See Examples. } -\item{fill}{Value with which to fill missing cells. If \code{fun.aggregate} is present, takes the value by applying the function on a 0-length vector.} +\item{fill}{Value with which to fill missing cells. If \code{fill=NULL} and missing cells are present, then \code{fun.aggregate} is used on a 0-length vector to obtain a fill value.} \item{run_cor}{Return a matrix of pairwise correlations.} diff --git a/vignettes/HPOExplorer.Rmd b/vignettes/HPOExplorer.Rmd index 1949d38..f5a011f 100644 --- a/vignettes/HPOExplorer.Rmd +++ b/vignettes/HPOExplorer.Rmd @@ -80,7 +80,7 @@ The `colour_var` argument is where you choose the column name from the `phenos` ```{r plot, warning = FALSE, message = FALSE, fig.width = 9, fig.height = 7} plt <- make_network_plot(phenos = phenos, colour_var = "ontLvl_geneCount_ratio") -methods::show(plt) +plt$plot ```