count_upm {MethEvolSIM} | R Documentation |
Count Methylation States
Description
This internal function counts the number of sites with unmethylated, partially-methylated, and methylated states in a given vector.
Usage
count_upm(data)
Arguments
data |
A numeric vector with methylation values: |
Value
An integer vector of length 3 containing counts of unmethylated, partially-methylated, and methylated sites, respectively.
[Package MethEvolSIM version 0.2.1 Index]