assign_ident: manually change idents as needed

View source: R/utils.R

assign_identR 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


NCBI-Hackathons/RClusterCT documentation built on July 10, 2022, 6:18 a.m.