bsxplorer.ChrLevels.from_binom
- classmethod ChrLevels.from_binom(file: str | Path, chr_min_length=1000000, window_length: int = 1000000, confidence: float | None = None, p_value: float = 0.05)[source]
Initialize ChrLevels with .parquet file from
Binom
.- Parameters:
file – Path to the report file.
chr_min_length – Minimum length of chromosome to be analyzed
window_length – Length of windows in bp
confidence – Pvalue for confidence bands of the LinePlot.
p_value – Pvalue with which cytosine will be considered methylated.