netmap.utils.data_utils.remove_Ucell_columns¶
- netmap.utils.data_utils.remove_Ucell_columns(grn_adata)[source]¶
Removes all UCell columns from grn_adata.obs.
Useful when UCell scores were previously added to
obsand need to be stripped out before Scanpy plotting functions complain about unrecognised observation columns.- Parameters:
grn_adata – AnnData object whose
obsDataFrame may contain columns with'UCell'in their name.- Returns:
The input object with UCell columns removed from
obs.- Return type:
grn_adata