getDiffAcc-DsATAC-method.Rd
Compute differential accessibility
# S4 method for DsATAC
getDiffAcc(
.object,
regionType,
comparisonCol,
grp1Name = NULL,
grp2Name = NULL,
adjustCols = character(0),
method = "DESeq2",
diffObj = NULL
)
DsATAC
object
character string specifying the region type
column name in the sample annotation table to base the comparison on
name of the first group in the comparison. if not specified, it will be taken as the first factor level specified in the
sample annotation table in 'comparisonCol'
.
name of the second group (reference) in the comparison. if not specified, it will be taken as the first factor level specified in the
sample annotation table in 'comparisonCol'
.
column names in the sample annotation potentially used to create the design matrix
Method for determining differential accessibility. Currently only 'DESeq2'
is supported
optional differential object to avoid computing it for each comparison and thus reduce runtime
a data.frame
containing differential accessibility information
if (FALSE) {
dsa <- ChrAccRex::loadExample("dsAtac_ia_example")
daTab <- getDiffAcc(dsa, "IA_prog_peaks", "stimulus", grp1Name="S", grp2Name="U", adjustCols=c("cellType", "donor"))
}