dereplicateReads: Removes duplicate sequences from DNAStringSet object.

Description Usage Arguments Value See Also Examples

View source: R/hiReadsProcessor.R

Description

Given a DNAStringSet object, the function dereplicates reads and adds counts=X to the definition line to indicate replication.

Usage

1

Arguments

dnaSet

DNAStringSet object to dereplicate.

Value

DNAStringSet object with names describing frequency of repeat.

See Also

replicateReads, removeReadsWithNs, findBarcodes, splitByBarcode

Examples

1
2
3
4
5
6
7
dnaSet <- c("CCTGAATCCTGGCAATGTCATCATC", "ATCCTGGCAATGTCATCATCAATGG", 
"ATCAGTTGTCAACGGCTAATACGCG", "ATCAATGGCGATTGCCGCGTCTGCA", 
"CCGCGTCTGCAATGTGAGGGCCTAA", "GAAGGATGCCAGTTGAAGTTCACAC", 
"CCTGAATCCTGGCAATGTCATCATC", "ATCCTGGCAATGTCATCATCAATGG", 
"ATCAGTTGTCAACGGCTAATACGCG", "ATCAATGGCGATTGCCGCGTCTGCA", 
"CCGCGTCTGCAATGTGAGGGCCTAA", "GAAGGATGCCAGTTGAAGTTCACAC") 
dereplicateReads(dnaSet)

malnirav/hiReadsProcessor documentation built on July 29, 2021, 6:33 a.m.