filter_max_mutations: Filter away reads which have > n mutations in them.

Description Usage Arguments Value

View source: R/filters.r

Description

A subset of the reads have a weirdly large number of differences to the template. These add confusing noise to the data, however removing them may take away meaningful noise from the data. So this function may prove to be awesome or terrible, depending on one's perspective.

Usage

1
2
3
4
5
6
filter_max_mutations(
  chng,
  mutation_df,
  max_mutations_per_read = 10,
  verbose = FALSE
)

Arguments

chng

Data set of reads which are not identical to the template.

mutation_df

Data frame of readids and their number of mutations.

max_mutations_per_read

What it says on the tin.

verbose

Print some information while running?

Value

The remaining reads and a little summary information.


abelew/Rerrrt documentation built on Jan. 15, 2022, 8 a.m.