Description Usage Arguments Examples
View source: R/find_candidate.R
Determine the pCSM candidate segments statify depth cuttoff, and for single-cell datasets, candidates are determined as the segments covered by both methylated cell and unmethylated cell. For regular datasets, candidates are determined as the segments with at least one totally methylated read and unmethylated read simultaneous.
1 | find_candidate(segment,depth=10,thread=1,data_type='regular')
|
segment |
matrix with segment information |
depth |
numeric threshold represents the least number of reads (for regular datasets) or cells (for single-cell datasets) covered the candidate segments |
thread |
number of threads used to identify candidate pCSM segment |
data_type |
"regular" and "single-cell" represents regular datasets and single-cell datasets, respectively |
1 2 3 4 5 6 | ### need to get segment object from former steps
#for bulk methylome
#candidate <- find_candidate(segment,depth=10)
#for single-cell methylome
#scCandidate <- find_candidate(scSegment,data_type="single-cell",depth=10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.