scallops.reads.read_statistics

scallops.reads.read_statistics(reads_df)

Compute read statistics, such as mapped_reads, mapped_reads_within_labels, and average_reads_per_label.

Parameters:

reads_df (DataFrame | DataFrame) – Reads data frame

Returns:

Dictionary containing statistics

Return type:

dict[str, float | int]