assign_ident {clustifyr} | R Documentation |
manually change idents as needed
assign_ident( metadata, cluster_col = "cluster", ident_col = "type", clusters, idents )
metadata |
column of ident |
cluster_col |
column in metadata containing cluster info |
ident_col |
column in metadata containing identity assignment |
clusters |
names of clusters to change, string or vector of strings |
idents |
new idents to assign, must be length of 1 or same as clusters |
new dataframe of metadata