make_cell_dt_from_list: Title

View source: R/functions_scRNA_fetch.R

make_cell_dt_from_listR Documentation

Title

Description

Title

Usage

make_cell_dt_from_list(
  cell_assignment_list,
  cell_cluster_id_ = "seurat_clusters"
)

Arguments

cell_assignment_list

list of character vector cell ids

cell_cluster_id_

name to give cell cluster variable in data.table. Default is "seurat_clusters".

Value

data.table equivalent of input lists.

Examples

cells_list = list(clust1 = c("a", "b"), clust2 = c("c"))
cells_dt = make_cell_dt_from_list(cells_list)
cells_dt

jrboyd/ssvRecipes documentation built on May 22, 2022, 7:07 a.m.