pub fn add_entry(
    shared_read_counts: &mut HashMap<usize, HashMap<usize, usize>>,
    clust1: usize,
    clust2: usize,
    count: usize,
) {
    let entry = shared_read_counts.entry(clust1).or_insert(HashMap::new());
    entry.insert(clust2, count);
}
/// Add read count entry to cluster hashmap
Add read count entry to cluster hashmap
Add read count entry to cluster hashmap
pub fn add_entry(
    shared_read_counts: &mut HashMap<usize, HashMap<usize, usize>>,
    clust1: usize,
    clust2: usize,
    count: usize,
) {
    let entry = shared_read_counts.entry(clust1).or_insert(HashMap::new());
    entry.insert(clust2, count);
}
pub fn add_entry ( shared_read_counts : & mut HashMap < usize , HashMap < usize , usize > > , clust1 : usize , clust2 : usize , count : usize , ) { let entry = shared_read_counts . entry ( clust1 ) . or_insert ( HashMap :: new ( ) ) ; entry . insert ( clust2 , count ) ; }
Add read count entry to cluster hashmap
Add read count entry to cluster hashmap
shared_read_counts
&mut HashMap<usize, HashMap<usize, usize>>
clust1
usize
clust2
usize
count
usize
shared_read_counts
&mut HashMap<usize, HashMap<usize, usize>>
clust1
usize
clust2
usize
count
usize