guidematrix_to_triplet: Convert guide matrix into a dataframe containing cell,...

View source: R/guidematrix_to_triplet.R

guidematrix_to_tripletR Documentation

Convert guide matrix into a dataframe containing cell, barcode, read and UMI count.

Description

Convert guide matrix into a dataframe, where columns include cell, barcode, read count and UMI count.

Usage

guidematrix_to_triplet(count_mat, RDS) 

Arguments

count_mat

A guide count matrix where columns are cell names and rows are guide names

RDS

A Seurat object or local RDS file path that contains the scRNA-seq dataset. Note that the dataset has to be normalized and scaled.

Value

A data frame that contains cell names, guide names, read count and UMI count as column.


weililab/scMAGeCK documentation built on April 21, 2024, 10:36 a.m.