Crate intspan

Source

Structs§

Coverage
IntSpan
IntSpan handles of sets containing integer spans.
NamedMatrix
A named matrix for storing pairwise distances/scores with sequence names
Range
ScoringMatrix

Functions§

absolute_path
basename
build_range_of_part
chrs_in_sets
cosine_similarity
dot_product
Computes the dot product of two vectors a and b.
euclidean_distance
Computes the Euclidean distance between two vectors a and b.
extract_rg
fields_to_ints
fill_up_m
fill_up_s
format_number
get_seq_faidx
ints_to_idx
jaccard_intersection
Computes the Jaccard intersection of two vectors a and b. The Jaccard intersection is the sum of the minimum values of corresponding elements.
jaccard_union
Computes the Jaccard union of two vectors a and b. The Jaccard union is the sum of the maximum values of corresponding elements.
json2set
json2set_m
mean
Computes the mean (average) of a vector a.
named_field_to_idx
norm_l2
Computes the L2 norm (Euclidean norm) of a vector a.
norm_l2_sq
Computes the squared L2 norm of a vector a.
pearson_correlation
Computes the Pearson correlation coefficient between two vectors a and b.
read_first_column
read_json
read_lines
read_replaces
read_sizes
reader
set2json
set2json_m
sort_links
sum
Computes the sum of all elements in a vector a.
weighted_jaccard_similarity
write_json
write_lines
writer