separate_BAM_into_clusters {ChromSCape} | R Documentation

## Separate BAM files into cell cluster BAM files

### Description

Separate BAM files into cell cluster BAM files

### Usage

    separate_BAM_into_clusters(affectation, odir, merged_bam)

### Arguments

`affectation` | An annotation data.frame containing cell_id and cell_cluster columns
`odir` | A valid output directory path
`merged_bam` | A list of merged bam file paths @importFrom Rsamtools filterBam ScanBamParam

### Value

Create one BAM per cluster from one BAM per condition

[Package ChromSCape version 1.2.62 Index]