This function removes a given list of cells from the .code mat slot.
Usage
atac_ignore_cells(atac, ig_cells)
Arguments
- atac
an ScPeaks object
- ig_cells
a vector of cell names (10X barcodes) to removes
Value
an scATAC object with the given cells removed.
Examples
if (FALSE) {
cs <- Matrix::colSums(atac_sc@mat)
big_cells <- names(cs)[which(cs >= quantile(cs, 0.98))]
atac_sc_filtered <- atac_ignore_cells(atac_sc, big_cells)
}