WAD.matrix
- WAD.matrix.generate_matrix(bed_file: str, bigwig_files: list, temp_file: str)
generate matrix using peak regions from a BED file and signal values from bigWig files.
- Parameters:
bed_file (str) – Path to BED file containing peak regions. Must be tab-delimited with columns: Chromosome, Start, End (no header).
bigwig_files (list of str) – List of bigwig file paths representing different cell types.
temp_file (str) – Path to the output TSV file that will store the resulting matrix.
- Returns:
The function writes the resulting matrix to temp_file.
- Return type:
None