removeCellAnnotation | R Documentation |
removes cell annotation of giotto object
removeCellAnnotation(gobject, columns = NULL, return_gobject = TRUE)
gobject |
giotto object |
columns |
names of columns to remove |
return_gobject |
boolean: return giotto object (default = TRUE) |
if return_gobject = FALSE, it will return the cell metadata
giotto object
data(mini_giotto_single_cell) # load full mini giotto object
# show cell metadata
pDataDT(mini_giotto_single_cell)
# remove cell_types column
mini_giotto_single_cell = removeCellAnnotation(mini_giotto_single_cell,
columns = 'cell_types')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.