kevinblighe / scDataviz

scDataviz: single cell dataviz and downstream analyses
60 stars 17 forks source link

Feat/set cluster ident #11

Closed JamesOpz closed 4 years ago

JamesOpz commented 4 years ago

This function takes a clustering algorithm output that can be specified as a metadata slot. It will then reassign and/or merge the cluster assignments based on an input vector supplied by the user. The function finally returns an updated SingleCellExperiment object with a new clustering metadata slot that is called 'cell_annotation', leaving the original clustering metadata slot as it was.