elsasserlab / labcode

Utils to perform frequent data analyses in the lab.
GNU General Public License v3.0
0 stars 1 forks source link

Heatmap values calculation on bw_heatmap #87

Closed cnluzon closed 3 years ago

cnluzon commented 3 years ago

Now there is a bw_heatmap function that has the same parameters a bw_profile. This function returns a list of matrices depending on the length of the parameter bw.

Unit tests for this also added.

Additionally, bw_profile function has been refactored to use a compute_matrix_norm function that is shared between it and bw_heatmap.

A fetch_bigwig function has been added to factor out downloading of bigWig files from URLs.