assign_ident {clustifyr} | R Documentation

## manually change idents as needed

### Description

manually change idents as needed

### Usage

    assign_ident(
      metadata,
      cluster_col = "cluster",
      ident_col = "type",
      clusters,
      idents
    )

### Arguments

`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

### Value

new dataframe of metadata

[Package clustifyr version 1.0.0 Index]