merge IgH productive/sterile transcript count into Seurat Object
mergeIgHCountsToSeurat.Rd
mergeIgHCountsToSeurat
will generate a new Assay in the given Seurat Object which contains the count matrix for productive/sterile transcripts
Arguments
- igh_counts
count matrix of productive/sterile transcripts after ensuring cell names/barcodes match with the supplied Seurat Object (i.e. after running the
repairBarcode
function)- SeuratObj
Seurat object on to the productive/sterile count matrix will be attached
- assay_name
name of the Seurat Assay holding the productive/sterile transcript count matrix. (Default: "IGHC")
Value
A Seurat object identical to SeuratObj
with a new Assay with name given by assay_name
, containing the productive/sterile transcript count matrix igh_counts
.
Details
mergeIgHCountsToSeurat
expects a count matrix with matching cell names/barcodes with the Seurat Object (i.e. output from the repairBarcode
of sciCSR
).
It will create a new Assay that stores this count matrix.