View source: R/preparingData.R
preparingData | R Documentation |
A function for calculating the relative signal strength and extract the features for running the m6Aboost.
preparingData(object, annotation, colname_reads = "", colname_C2T = "")
object |
A GRanges object which should contain all single- nucleotide peaks from the miCLIP2 experiment. |
annotation |
A path to the annotation file. The format of the annotation file should be a gff3 file and downloaded from https://www.gencodegenes.org/ |
colname_reads |
The name of the metadata column which contains the mean value of the truncation reads number without C to T transition reads. |
colname_C2T |
The name of the meta data column which contains the mean value of C to T transition read counts. |
A GRanges object with all information that is required for running the m6Aboost model.
You Zhou
testpath <- system.file("extdata", package = "m6Aboost")
test_gff3 <- file.path(testpath, "test_annotation.gff3")
test <- readRDS(file.path(testpath, "test.rds"))
test<- preparingData(test, test_gff3, colname_reads="WTmean",
colname_C2T="CtoTmean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.