Skip to content

Commit

Permalink
update prints and run docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jiajic committed Nov 7, 2024
1 parent 4e4e2dd commit 7f70a92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion R/convenience_xenium.R
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,8 @@ setMethod(
path = metadata_path,
verbose = verbose
)
g <- setGiotto(g, cx)
# verbose = FALSE to silence warning that meta is already generated
g <- setGiotto(g, cx, verbose = FALSE)
}


Expand Down Expand Up @@ -553,12 +554,15 @@ setMethod(
}

# centroids
vmsg(.v = verbose, "calculating centroids")
spat_units_to_calc <- list_spatial_info_names(g)
g <- addSpatialCentroidLocations(g,
poly_info = spat_units_to_calc,
provenance = as.list(spat_units_to_calc),
verbose = FALSE
)

vmsg(.v = verbose, "done")

return(g)
}
Expand Down
3 changes: 2 additions & 1 deletion man/createGiottoXeniumObject.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7f70a92

Please sign in to comment.