dnacheck: Check if the DNA sequence are in the 4 default types

Description Usage Arguments Details Value Author(s) Examples

Description

Check if the DNA sequence are in the 4 default types

Usage

1

Arguments

x

A character vector, as the input DNA sequence.

Details

This function checks if the DNA sequence types are in the 4.

Value

Logical. TRUE if all of the DNA types of the sequence are within the 4 default types.

The result character vector

Author(s)

Min-feng Zhu <wind2zhu@163.com>

Examples

1
2
3
x = 'GACTGAACTGCACTTTGGTTTCATATTATTTGCTC'
dnacheck(x) # TRUE
dnacheck(paste(x, 'Z', sep = '')) # FALSE

rDNAse documentation built on May 2, 2019, 4:16 a.m.