get_depthWeight: Calculate the depth weight for each sample or each...

View source: R/07.get_depthWeight.R

get_depthWeightR 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(metadata, hugeData)

Arguments

metadata

A data frame containing the metadata for a RNA-seq experiment, which can be extract from the SQLite database set up by 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


jianhong/InPAS documentation built on Nov. 5, 2024, 7:45 a.m.