- Fixed 'Moved Permanently' content by replacing the old URL with the new URL
- Fixed bug in calculation of False Discovery Rate in internal
pval_correct()
function - Argument
plot_cols
correctly renamedcols
inlrr_plot()
function
- Migrated R-spatial dependency
- Replaced
raster
in Imports withterra
because of imminent package retirement - Updated documentation throughout
- Added GitHub R-CMD-check
- Updated citation style for CITATION file
- Updated maintainer contact information
- Updated package URL and BugReports to renamed GitHub account "lance-waller-lab" (previously "Waller-SUSAN")
- Replaced
if()
conditions comparingclass()
to string withinherits()
in functions tools
is no longer Importsutils
is now Suggests because "zzz.R" calls thepackageDescription()
functionncdfFlow
,flowWorkspaceData
are no longer Suggests (for generating random data setrandCyto
) because "Package suggested but not available for checking" in the some CRAN environments- Added CITATION file
- Fixed typos in documentation throughout
- Updated dependencies
spatstat.core
andspatstat.linnet
packages based on feedback from the Spatstat Team (Adrian Baddeley and Ege Rubak). All random generators inspatstat.core
were moved to a new packagespatstat.random
spatstat.geom
,spatstat.core
,spatstat.linnet
, andspatstat (>=2.0-0)
are no longer Dependsspatstat.geom
is now Importsdplyr
,ncdfFlow
,flowWorkspaceData
, andusethis
now Suggests (for generating random data setrandCyto
)- Fixed annotation typos in the vignette. Removed packages no longer used in the vignette
- Now
rlang
is in Depends. - Output for
gating()
now includes a diagnostic message saved as a character string for reference in a slot callednote
- A diagnostic message can be viewed running
rlang::last_error()$out$note
after the unsuccessful run ofgating()
- Removed redundant
@importFrom fields image.plot
in 'package.R'
- Updated
spatstat
package to new subsetted packages based on feedback from the Spatstat Team (Adrian Baddeley and Ege Rubak). Nowspatstat.geom
,spatstat.core
,spatstat.linnet
, andspatstat (>= 2.0-0)
are in Depends - Fixed check for
vars
indat
within thegating()
function
- Updated
spatstat
package to new subsetted packages based on feedback from the Spatstat Team (Adrian Baddeley and Ege Rubak).spatstat.geom
package replacesspatstat
package in Imports - Added additional multiple testing corrections, including False Discovery Rate, spatially dependent Sidak correction, independent Sidak correction, and two corrections based on Random Field Theory (Adler and Hasofer or Friston)
- The latter two corrections required a new argument
bandw
to be added togating()
,lotrrs()
, andrrs()
functions to allow users to specify bandwidth for the kernel density estimation - Updated the calculation of the spatial correlogram in internal
pval_correct()
function from thecorrelog()
function in thepgrimess
package to themodified.ttest()
function in theSpatialPack
package - Imports
lifecycle
package to document deprecated argumentsdoplot
andverbose
inlotrrs()
,rrs()
, andgating()
functions - In
gating()
function, creates a categorizedim
based on critical p-value, assigns that value to every point in appp
object, and subsets points by category - Removed
maptools
andsp
packages from Imports - Updated links in 'gateR-package.Rd' for package updates
- Updated URLs in 'gateR-package.Rd'
- Updated year in DESCRIPTION
- Added arguments
save_gate
,name_gate
, andpath_gate
inlotrrs()
,rrs()
, andgating()
to save plots as PNG files as output - Renamed
doplot
argument asplot_gate
for consistency with new plotting arguments - Added a stop (and return no results) if no significant clusters detected during first gate
- Deprecate
verbose
argument ingating()
,rrs()
, andlotrrs()
- Added
try()
error catches inrrs()
andlotrrs()
forc1n
andc2n
arguments - Changed the
right
argument incut()
inpval_plot()
to "TRUE" (the default for cut) - Removed fullstop in error messages
- Added a
make.names()
check forvars
andcolnames(dat)
ingating()
- Added documentation to
lotrrs()
,rrs()
, andgating()
about the levels of condition(s) - Fixed bug in
lotrrs()
that was mislabeling numerator and denominator levels of second condition - Added parameters
c1n
andc2n
inlotrrs()
,rrs()
, andgating()
to specify the numerator level
- Removed
ncdFlow
,flowWorkspaceData
, andknitr
packages from Suggests - Created a random data set
randCyto
and all documentation - Updated examples and testthat to use
randCyto
data - Updated vignette with clearer language