Open TengyuZz opened 3 months ago
Describe the Error
When I running the CosMx data by applying Giotto, in the step overlapToMatrix I always get error message, however I can successfully run it before.
Error Message
gobj <- overlapToMatrix(gobj, feat_info = 'rna') Error in aggr_dtoverlap[["feat_ID"]][[1]] : subscript out of bounds
My codes gobj <- createGiottoObjectSubcellular(gpolygons = list("cell" = polygon_coord), gpoints = list("rna" = tx_coord), polygon_dfr_list_params = list(calc_centroids = FALSE, verbose = TRUE), instructions = instrs)
gobj <- addSpatialCentroidLocations(gobj,poly_info = "cell") gobj <- calculateOverlapRaster(gobj, feat_info = 'rna') gobj <- overlapToMatrix(gobj, feat_info = 'rna')
Describe the Error
When I running the CosMx data by applying Giotto, in the step overlapToMatrix I always get error message, however I can successfully run it before.
Error Message
gobj <- overlapToMatrix(gobj, feat_info = 'rna') Error in aggr_dtoverlap[["feat_ID"]][[1]] : subscript out of bounds
My codes gobj <- createGiottoObjectSubcellular(gpolygons = list("cell" = polygon_coord), gpoints = list("rna" = tx_coord), polygon_dfr_list_params = list(calc_centroids = FALSE, verbose = TRUE), instructions = instrs)
gobj <- addSpatialCentroidLocations(gobj,poly_info = "cell") gobj <- calculateOverlapRaster(gobj, feat_info = 'rna') gobj <- overlapToMatrix(gobj, feat_info = 'rna')