Learn R Programming

diffloop (version 1.0.2)

calcLDSizeFactors: Compute normalizing factors for each sample

Description

calcLDSizeFactors takes a loops object computes size factors based for each sample

Usage

calcLDSizeFactors(dlo)

## S3 method for class 'loops': calcLDSizeFactors(dlo)

Arguments

dlo
A loops object with unnormalized size factors

Value

  • A loops object with new size factors in colData

Details

This function updates the loops object with new sizeFactor values for each sample in the colData slot using a method identical to that employed in DESeq2.

Examples

Run this code
# Computing normalizing factors from the full ChIA-PET Data
rda<-paste(system.file('rda',package='diffloop'),'loops.small.rda',sep='/')
load(rda)
loops.small <- calcLDSizeFactors(loops.small)

Run the code above in your browser using DataLab