Description Usage Arguments Details Value Examples
class.BisXP
creates a BisXP object from a table containing RNA name,
C position, bisulfite non-conversion ratio and adjusted p-value.
1 | class.BisXP(BisData)
|
BisData |
A data frame with 4 columns:
|
This function takes bisulfite experiment data as an input table, performs checks, and casts the table into a BisXP object, with rows labelled after a RNA_C.position pattern.
If the input table is correct, then the output will be a BisXP object corresponding to a consolidated data frame with rows labelled after a RNA_C.position pattern.
1 2 3 4 5 6 | RNA <- c("NM_00001","NM_00001","NM_00002")
Cpos <- as.integer(c(1,5,1))
ncratio <- c(0.1,0.5,0.3)
pv.adj <- c(0.001,0.1,0.3)
BSdata <- data.frame(RNA, Cpos, ncratio, pv.adj, stringsAsFactors = FALSE)
bsXP <- class.BisXP(BSdata)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.