tmm_norm: Normarization of RNA-seq count data using tmm

Description Usage Arguments Value Examples

View source: R/tmm_norm.R

Description

This functions returns the normarized count data of multiple groups

Usage

1
tmm_norm(dat, column, gp, method)

Arguments

dat

A data frame, matrix. The 'dat' contains columns which names samples and rows contains genes

column

Count data columns without id column. The default is 1:ncol(dat)

gp

replicate group

method

a pipe line select from 1:"iDEGES/TbT", 2:"iDEGES/edgeR", 3:"iDEGES/DESeq".

Value

ggobject which containing resulto of 'TCC::getNormalizedData' ,

Examples

1
2
3
4
5
# # sample data of rna-seq
# fpkm <- rskodat::fpkm
# gp <- rep(1:4, each=3)
# nfpkm <- rskoseq::tmm_norm(dat = fpkm, column = 1:ncol(fpkm), gp = gp, method = 2)
# fpkm[1:4,1:4]; nfpkm[1:4,1:4]

shkonishi/rskoseq documentation built on Oct. 30, 2018, 1:10 p.m.