R/ATACPeaks.R
atac_ignore_cells.Rd
This function removes a given list of cells from the .code mat slot.
atac_ignore_cells(atac, ig_cells)
an ScPeaks object
a vector of cell names (10X barcodes) to removes
an scATAC object with the given cells removed.
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) }