Description Usage Arguments Value Examples
This functions returns the normarized count data of multiple groups
1 | tcc_norm(dat, column, gp, method)
|
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:'DEGES/TbT', 2:'DEGES/edgeR', 3:'iDEGES/edgeR', 4:'DEGES/DESeq', 5:'iDEGES/DESeq', 6:'iDEGES/DESeq2'. |
ggobject which containing result of 'TCC::getNormalizedData' ,
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Not run:
# sample data of rna-seq
fpkm_rep3 <- rskodat::fpkm
fpkm_rep2 <- rskodat::fpkm[c(1,2,4,5)]
fpkm_norep <- rskodat::fpkm[c(1, 4)]
# arguments
gp1 <- rep(1:4, each=3)
gp2 <- rep(1:2, each=2)
gp3 <- c(1,2)
# normalize
# if you choose method 4,5, or 6, require the 'TCC' library load.
tbt_nfpkm <- rskoseq::tcc_norm(dat = fpkm_rep2, column = 1:ncol(fpkm_rep2), gp = gp2, method = 1)
edgr_nfpkm <- rskoseq::tcc_norm(dat = fpkm_rep2, column = 1:ncol(fpkm_rep2), gp = gp2, method = 2)
iedgr_nfpkm <- rskoseq::tcc_norm(dat = fpkm_rep2, column = 1:ncol(fpkm_rep2), gp = gp2, method = 3)
dsq_nfpkm <- rskoseq::tcc_norm(dat = fpkm_norep, column = 1:ncol(fpkm_norep), gp = gp3, method = 4)
idsq_nfpkm <- rskoseq::tcc_norm(dat = fpkm_norep, column = 1:ncol(fpkm_norep), gp = gp3, method = 5)
TCC::plot.TCC(TCC::estimateDE(nfpkm1$tcc, test.method = "edger", FDR = 0.05))
TCC::plot.TCC(TCC::estimateDE(nfpkm2$tcc, test.method = "edger", FDR = 0.05))
TCC::plot.TCC(TCC::estimateDE(nfpkm3$tcc, test.method = "deseq2", FDR = 0.05))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.