From fa6f6ed92dfda3ce713b5942744faca342a12119 Mon Sep 17 00:00:00 2001 From: George Chen <72078254+jiajic@users.noreply.github.com> Date: Thu, 17 Oct 2024 14:40:18 -0400 Subject: [PATCH] add exactextractr to requirements --- vignettes/object_creation.Rmd | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/vignettes/object_creation.Rmd b/vignettes/object_creation.Rmd index e28396514..72f2e9ea5 100644 --- a/vignettes/object_creation.Rmd +++ b/vignettes/object_creation.Rmd @@ -458,11 +458,17 @@ The IMC data to run this tutorial can be found in the *imcdatasets* package. We ## Download data to use +The package *exactextractr* is also used due to its speed with image data extractions. + ```{r, eval=FALSE} -# Ensure imcdatasets is installed. +# Ensure imcdatasets and exactextractr are installed. if(!"imcdatasets" %in% installed.packages()) { pak::pkg_install("imcdatasets") } +if(!"exactextractr" %in% installed.packages()) { + pak::pkg_install("exactextractr") +} + # load dataset imc_masks <- imcdatasets::IMMUcan_2022_CancerExample("masks") imc_imgs <- imcdatasets::IMMUcan_2022_CancerExample("images")