deva_normalization: Normalization of data to prepare for deva. Uses a Median of...

Description Usage Arguments Value Examples

View source: R/outlier_analysis_functions.R

Description

Normalization of data to prepare for deva. Uses a Median of Ratio method followed by a log2 transformation.

Usage

1
deva_normalization(intable, method = "MoR-log")

Arguments

intable

table with samples along the columns and features along the rows.

method

DEFAULT: "MoR-log" Method by which to normalize data in preparation for deva. Options are <"MoR-log", "MoR", "log">. Where "MoR" refers to the Median of ratio's. The "log" transformation is necessary to compress heavily skewed data and allow for proper detection. "MoR-log" as the default will perform MoR followed by a log2 transform.

Value

A normalized table for input into deva

Examples

1
2
3
4
5
library(pasilla)
pasCts <- system.file("extdata",
    "pasilla_gene_counts.tsv", package="pasilla")
cts <- as.matrix(read.csv(pasCts,sep="\t",row.names="gene_id"))
norm_cts <- deva_normalization(cts, method = "MoR-log")

blacksheepr documentation built on Nov. 8, 2020, 7:57 p.m.