This function can be used by the user to extract the counts data for positions of the mutation signatures along the read length.

filter_signatures_only_location(mat, max_pos = 20, flanking_bases = 1)

Arguments

mat

The matrix of the signature counts obtained by aggregate_bin_counts or club_signature_counts functions.

max_pos

The highest position along the read from the start for which the counts are to be extracted.

flanking_bases

The number of flanking bases in the signatures

Value

Returns a filtered matrix of signature counts for positions along the read length.