assign_ident: manually change idents as needed

Description Usage Arguments Value

View source: R/utils.R

Description

manually change idents as needed

Usage

1
2
3
4
5
6
7
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 Aug. 5, 2021, 10:48 p.m.