make_RPKM: make_RPKM Make RPKM.

Description Usage Arguments Value Author(s) References Examples

View source: R/make_RPKM.R

Description

make_RPKM populates RPKM slot of modified countData (countDat) S4 object.

Usage

1
make_RPKM(cd_object)

Arguments

cd_object

A countDat object.

Value

RPKM populated object

Author(s)

AJ Vaestermark, JR Walters.

References

The "doseR" package, 2018 (in press).

Examples

1
2
3
4
5
6
7
8
9
data(hmel.data.doser)
reps <- c("Male", "Male", "Male", "Female", "Female", "Female")
annotxn <- data.frame("Chromosome" = factor(hmel.dat$chromosome,
levels = 1:21))
hmtr <- hmel.dat$trxLength
hm<-new("countDat",data=hmel.dat$readcounts,replicates=reps,seglens=hmtr,
annotation=annotxn)
libsizes(hm) <- getLibsizes2(hm, estimationType = "total")
rpkm(hm) <- make_RPKM(hm)

avastermark19/doseR_0.99.4 documentation built on May 6, 2019, 12:08 p.m.