Skip to content

Commit

Permalink
Merge pull request #167 from jiajic/dev
Browse files Browse the repository at this point in the history
Several features and fixes
  • Loading branch information
jiajic authored Feb 15, 2024
2 parents 7a70bfc + 4e8ea26 commit d53f2cb
Show file tree
Hide file tree
Showing 29 changed files with 1,244 additions and 235 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/covr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
_R_CHECK_RD_XREFS: false
with:
dependencies: '"hard"' # do not use suggested dependencies
extra-packages: any::rcmdcheck, any::testthat, any::rlang, any::R.utils, any::remotes, any::covr, any::sp, any::stars, any::raster, any::sf
extra-packages: any::rcmdcheck, any::testthat, any::rlang, any::R.utils, any::remotes, any::covr, any::sp, any::stars, any::raster, any::sf, any::RTriangle, any::geometry
needs: coverage

- name: Set up dependencies (GiottoData)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
_R_CHECK_RD_XREFS: false
with:
dependencies: '"hard"' # do not use suggested dependencies
extra-packages: any::rcmdcheck, any::testthat, any::rlang, any::R.utils, any::knitr, any::rmarkdown, any::sp, any::stars, any::raster, any::sf, any::scattermore, any::exactextractr, github::drieslab/GiottoData
extra-packages: any::rcmdcheck, any::testthat, any::rlang, any::R.utils, any::knitr, any::rmarkdown, any::sp, any::stars, any::raster, any::sf, any::scattermore, any::exactextractr, any::RTriangle, any::geometry, github::drieslab/GiottoData

- name: Run R CMD check
uses: r-lib/actions/check-r-package@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
_R_CHECK_RD_XREFS: false
with:
dependencies: '"hard"' # do not use suggested dependencies
extra-packages: any::rcmdcheck, any::testthat, any::rlang, any::R.utils, any::remotes, any::knitr, any::rmarkdown, any::sp, any::stars, any::raster, any::sf, any::scattermore, any::exactextractr, github::drieslab/GiottoData
extra-packages: any::rcmdcheck, any::testthat, any::rlang, any::R.utils, any::remotes, any::knitr, any::rmarkdown, any::sp, any::stars, any::raster, any::sf, any::scattermore, any::exactextractr, any::RTriangle, any::geometry, github::drieslab/GiottoData

- name: Test python env build
run: |
Expand Down
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ Suggests:
Remotes: drieslab/GiottoUtils
Config/testthat/edition: 3
Collate:
'NN_network.R'
'package_imports.R'
'classes.R'
'generics.R'
'NN_network.R'
'aggregate.R'
'auxilliary.R'
'combine_metadata.R'
Expand Down Expand Up @@ -137,7 +137,6 @@ Collate:
'stitch_coordinates.R'
'subset.R'
'suite_reexports.R'
'visiumImage.R'
'zzz.R'
URL: https://drieslab.github.io/GiottoClass/
VignetteBuilder: knitr
8 changes: 2 additions & 6 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ S3method(as.data.table,giottoPoints)
S3method(as.data.table,giottoPolygon)
S3method(t,spatLocsObj)
S3method(t,spatialNetworkObj)
export(VisiumV1)
export(addCellMetadata)
export(addFeatMetadata)
export(addGiottoImage)
Expand Down Expand Up @@ -77,6 +76,7 @@ export(createGiottoPolygonsFromMask)
export(createMetafeats)
export(createNearestNetObj)
export(createNearestNetwork)
export(createNetwork)
export(createSpatEnrObj)
export(createSpatLocsObj)
export(createSpatNetObj)
Expand All @@ -101,6 +101,7 @@ export(create_spat_locs_obj)
export(create_spat_net_obj)
export(cropGiottoLargeImage)
export(distGiottoImage)
export(edge_distances)
export(estimateImageBg)
export(evaluate_input)
export(fDataDT)
Expand Down Expand Up @@ -289,7 +290,6 @@ export(updateGiottoPointsObject)
export(updateGiottoPolygonObject)
export(update_giotto_params)
export(writeGiottoLargeImage)
exportClasses(VisiumV1)
exportClasses(cellMetaObj)
exportClasses(dimObj)
exportClasses(exprObj)
Expand Down Expand Up @@ -360,12 +360,8 @@ exportMethods(wrap)
import(GiottoUtils)
import(data.table)
import(utils)
importClassesFrom(SeuratObject,SpatialImage)
importClassesFrom(terra,SpatExtent)
importClassesFrom(terra,SpatVector)
importFrom(GiottoUtils,getDistinctColors)
importFrom(GiottoUtils,getMonochromeColors)
importFrom(GiottoUtils,getRainbowColors)
importFrom(grDevices,dev.size)
importFrom(graphics,legend)
importFrom(graphics,par)
Expand Down
Loading

0 comments on commit d53f2cb

Please sign in to comment.