Description Usage Arguments Examples
View source: R/merge_segment.R
This function is used to convert the 4-CpG segments into pCSM loci
1 | merge_segment(pCSM_segment,data_type="regular",extension=0)
|
pCSM_segment |
the segments determined as the pCSM segments |
data_type |
"regular" and "single-cell" represents regular datasets and single-cell datasets, respectively |
extension |
the length of bases need to be extended, for example, extension=100 means that extend the pCSM segments 100bp in both of their upstream and downstream. |
1 2 3 4 | #for bulk methylome
#pcsm_loci <- merge_segment(pcsm_segment,extension=0)
#for single-cell methylome
#scPcsm_loci <- merge_segment(scPcsm_segment,data_type="single-cell",extension=0)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.