Description Usage Arguments Value References See Also Examples
This function is to detect differential RNA methylation sites between two conditions by qnbtest
from QNB
R package.
1 2 3 4 5 6 | DM_detect(peak_inform,
DM_CUTOFF_TYPE=pavlue,
num_ctl,
diff_peak_pvalue,
diff_peak_fdr
)
|
peak_inform |
A list data format, one is a dataframe within the consistent peak sites information (e.g. "gene name","seqname","start","end","strand", reads count in each peak of each input samples), another is a vector with libray sizes factor to normalize methylation level of each peak site in further analysis. |
DM_CUTOFF_TYPE |
A string, such as "pvalue", which specifies the tpye of cut-off to identify differential expression gene, default: |
num_ctl |
A string,such as "2", which specifices the number of samples in control condition. |
diff_peak_pvalue |
a decimal number, which specifies the p-value cut-off to identify differential methylation peak sites, default: |
diff_peak_fdr |
a decimal number, which specifies the fdr cut-off to identify differential methylation peak sites, e.g. |
Results will return a list including the information differential methylation site in dataframe format and a library size factor in vector format.
DM_peak_infor |
A dataframe including the information of differential methylation sites |
size_factor |
A float vector, which specifices the library size factor for IP samples |
Liu, Lian, et al. "QNB: differential RNA methylation analysis for count-based small-sample sequencing data with a quad-negative binomial model." BMC bioinformatics 18.1 (2017): 1-12.
1 2 3 4 5 6 7 8 | ## Not run:
##Get consist peak site
Get_peak_infor <- Get_peak_sites(IP_BAM, INPUT_BAM,GENE_ANNO_GTF=gtf)
##Detect differential peak sites
DM_sites_infor <- DM_detect(peak_inform=Get_peak_infor,DM_CUTOFF_TYPE=pvalue,num_ctl=2,
diff_peak_pvalue=0.05)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.