quickAssoc: Perform quick differential loop calling

Description Usage Arguments Details Value Examples

Description

quickAssoc takes a loops object and performs a basic edgeR association on the counts matrix and groups from colData

Usage

1
2
3
4
quickAssoc(y)

## S4 method for signature 'loops'
quickAssoc(y)

Arguments

y

A loops object for association

Details

This function returns the output of fitting an edgeR model using the groups defined in colData for the specific loops object. The factor normalization is based on the edgeR model. For quick association, the number of groups is restricted to two. If a more complex group structure exists, consider using the loopAssoc function.

Value

A loops object

Examples

1
2
3
4
5
# Differential loop calling between naive and primed
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
np <- loops.small[,1:4]
assoc_np <- quickAssoc(np)

diffloop documentation built on Nov. 8, 2020, 5:48 p.m.