calcLDSizeFactors {diffloop} | R Documentation

## Compute normalizing factors for each sample

### Description

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

### Usage

    calcLDSizeFactors(dlo)

    ## S4 method for signature 'loops'
    calcLDSizeFactors(dlo)

### Arguments

`dlo` | A loops object with unnormalized size factors

### 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.`

### Value

A loops object with new size factors in `colData`

### Examples

    # 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)

[Package diffloop version 1.18.0 Index]