get_depthWeight {InPAS} | R Documentation

## Calculate the depth weight for each sample or each experimental condition

### Description

Calculate the depth weight for each sample of non-hugeData or each experimental condition for hugeData: depth/mean(depth)

### Usage

    get_depthWeight(sqlite_db, hugeData)

### Arguments

`sqlite_db` | A path to the SQLite database for InPAS, i.e. the output of `setup_sqlitedb()`.
`hugeData` | A logical(1), indicating whether it is huge data

### Value

A named numeric vector containing depth weight for each sample for non-hugeData, or depth weight for each condition if hugeData.

### Author(s)

Jianhong Ou, Haibo Liu

[Package InPAS version 2.2.0 Index]