
Combine objects by rows (Giotto-related)
Source:R/classes-binpoints.R, R/methods-rbind.R
rbind-generic.Rdrow bind two objects
Usage
# S4 method for class 'giottoBinPoints,giottoBinPoints'
rbind2(x, y, ...)
# S4 method for class 'cellMetaObj,cellMetaObj'
rbind2(x, y, ...)
# S4 method for class 'featMetaObj,featMetaObj'
rbind2(x, y, ...)
# S4 method for class 'spatLocsObj,spatLocsObj'
rbind2(x, y, ...)
# S4 method for class 'giottoPolygon,giottoPolygon'
rbind2(x, y, add_list_ID = TRUE, ...)
# S4 method for class 'giottoPoints,giottoPoints'
rbind2(x, y, ...)
# S4 method for class 'overlapPointDT,overlapPointDT'
rbind2(x, y, ...)Functions
rbind2(x = giottoPolygon, y = giottoPolygon): Append giottoPolygon objectsrbind2(x = giottoPoints, y = giottoPoints): Append giottoPoints objects
Examples
g <- GiottoData::loadSubObjectMini("giottoPolygon")
rbind2(g, g)
#> [rbind giottoPolygon] Overlap information removed.
#> Please recalculate with calculateOverlap() if needed.
#> An object of class giottoPolygon
#> spat_unit : "aggregate"
#> Spatial Information:
#> class : SpatVector
#> geometry : polygons
#> dimensions : 924, 4 (geometries, attributes)
#> extent : 6391.466, 6903.573, -5153.897, -4694.868 (xmin, xmax, ymin, ymax)
#> coord. ref. :
#> names : poly_ID stack agg_n valid
#> type : <chr> <chr> <int> <int>
#> values : 100210519278873141813371~ NA 2 1
#> 101161259912191124732236~ NA 2 1
#> 101488859781016188084173~ NA 2 1
#> ...
#> centroids : calculated
#> overlaps : NULL