removes cell annotation of giotto object
removeCellAnnotation(gobject, columns = NULL, return_gobject = TRUE)
giotto object
if return_gobject = FALSE, it will return the cell metadata
data(mini_giotto_single_cell) # load full mini giotto object
#> Warning: data set ‘mini_giotto_single_cell’ not found
# show cell metadata
pDataDT(mini_giotto_single_cell)
#> Warning: restarting interrupted promise evaluation
#> Warning: restarting interrupted promise evaluation
#> Error: object 'mini_giotto_single_cell' not found
# remove cell_types column
mini_giotto_single_cell = removeCellAnnotation(mini_giotto_single_cell,
columns = 'cell_types')
#> Warning: restarting interrupted promise evaluation
#> Warning: restarting interrupted promise evaluation
#> Error: object 'mini_giotto_single_cell' not found