
Call peaks per group of cells
rs_atac_call_peaks.RdUsage
rs_atac_call_peaks(
fragments,
barcodes,
groups,
tag_source,
keep_dup,
shift,
extsize,
genome_size,
llocal,
q_value,
min_length,
max_gap,
max_mem_gb,
tmp_dir
)Arguments
- fragments
String. The fragment file.
- barcodes
Character vector. Cells.
- groups
Integer vector. Group of each cell,
0..n_groups.- tag_source
String.
"insertion"or"fragment_start".- keep_dup
Optional integer. Tags kept per position,
NULLfor all.- shift
Integer. Tag shift before extension.
- extsize
Integer. Tag extension.
- genome_size
Numeric. Effective genome size.
- llocal
Integer. Local lambda window.
- q_value
Numeric. q-value cutoff.
- min_length
Optional integer. Minimum peak length,
NULLforextsize.- max_gap
Optional integer. Largest merged gap,
NULLfor MACS's tag size.- max_mem_gb
Optional numeric. Tag budget of the first pass,
NULLfor one chromosome at a time.- tmp_dir
Optional string. Directory of the tag scratch file,
NULLfor the system one.