filter_given_reference: Filter samples using the tags observed in the reference...

View source: R/filter_given_reference.r

filter_given_referenceR Documentation

Filter samples using the tags observed in the reference samples.

Description

Take the result from read_tags() and use it to find which tags are in the non-reference samples. One caveat about this process, it splits the data by replicate because tags are not global. Thus we will need to consider what is the best way to handle the filtered data. The simplest is to just merge the pieces back together.

Usage

filter_given_reference(tag_list, reference_cutoff = 1, remove_nas = FALSE)

Arguments

reference_cutoff

Minimum number of reads in the reference samples to be considered 'real'

remove_nas

Replace NA with 0?

index_list

Result from count_tags


abelew/stampr documentation built on April 14, 2022, 5:03 a.m.