Description Usage Arguments Details Value References Examples
This function is to get the high variable peak sites given RNA methylation peak sites under multiple context.
1 | obtain_HVP_sites(peak_inform,CV_values=0.3,num_sample_subgroup)
|
peak_inform |
A list data format, one is dataframe within the consistent peak sites information (e.g. "gene name","seqname","start","end","strand", reads count in each peak of each input samples) under multiple context (e.g. multiple sub-tissues in Brain or Intestine), another is a vector with libray sizes factor to normalize methylation level of each peak site. |
CV_values |
A decimal number, which is the cutoff for coefficient of variation (CV) used to select high variable peaks. The high variable peaks are defined as CV values are bigger than the cutoff: default |
num_sample_subgroup |
A vector of integer, which specifies the number of samples for each sub-group. For example, |
The high variable peak sites means whose methylation level (log2 ratio for normalized reads count by size factor of each peak site) of each sub-group with higher coefficient of variation value than given cutoff: CV_values
across sub-groups.
Results will return a list including the information of high variable peak site in dataframe format and a library size factor in vector format.
high_variable_peak |
A dataframe including the information of high variable methylation peak sites |
size_factor |
A float vector, which specifices the library size factor for IP samples |
An, Sanqi, et al. "Integrative network analysis identifies cell-specific trans regulators of m6A." Nucleic acids research 48.4 (2020): 1715-1729.
1 2 3 4 5 6 7 | ## Not run: ##Get consist peak site
Get_peak_infor <- Get_peak_sites(IP_BAM, INPUT_BAM,GENE_ANNO_GTF=gtf)
##Detect high variable peak sites
HVP_infor <- obtain_HVP_sites(peak_inform=Get_peak_infor,CV_values=0.3,
num_sample_subgroup=c(2,2,2,2))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.