globalDeletion: globalDeletion

Description Usage Arguments Value Author(s) Examples

View source: R/globalDeletion.R

Description

This function returns a DNAStringSet reduced by all sites containing any gaps ("-", "+", ".") or missing ("N") sites.

Usage

1

Arguments

dna

DNAStringSet [mandatory]

Value

DNAStringSet

Author(s)

Kristian K Ullrich

Examples

1
2
3
4
5
6
## define two cds sequences
cds1 <- Biostrings::DNAString("ATGCAACATTGC")
cds2 <- Biostrings::DNAString("ATG---CATTGC")
cds1.cds2.aln <- c(Biostrings::DNAStringSet(cds1),
    Biostrings::DNAStringSet(cds2))
globalDeletion(cds1.cds2.aln)

kullrich/distSTRING documentation built on Dec. 21, 2021, 8:42 a.m.