Populates the accessibility slot and coord$peaks. The peak matrix is typically produced by ChrAccR / your 02_ChrAccR.R step.

setAccessibility(dsObj, peakMat, peakGr)

Arguments

dsObj

A DsASC object.

peakMat

Matrix of peak counts [peak x sample]. rownames = peak IDs, colnames must contain every getSamples(dsObj).

peakGr

GRanges of consensus peaks. names(peakGr) must match rownames(peakMat).

Value

The updated DsASC object.

Author

Irem B. GUNDUZ