-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from iqraAmin/dev
Added spatial_network and nn_network in seuratToGiotto functions plus…
- Loading branch information
Showing
9 changed files
with
285 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#' Create VisiumV1 Class | ||
#' VisiumV1 | ||
#' @include interoperability.R | ||
#' @description Creates a VisiumV1 object | ||
#' @slot image array. | ||
#' @slot scale.factors scalefactors. | ||
#' @slot coordinates data.frame. | ||
#' @slot spot.radius numeric. | ||
#' @importClassesFrom SeuratObject SpatialImage | ||
#' @return visium object | ||
#' @export | ||
|
||
VisiumV1 <- setClass(Class = 'VisiumV1', | ||
contains = 'SpatialImage', | ||
slots = list('image' = 'array', | ||
'scale.factors' = 'scalefactors', | ||
'coordinates' = 'data.frame', | ||
'spot.radius' = 'numeric' )) | ||
|
Oops, something went wrong.