dnacheck {rDNAse}R Documentation

Check if the DNA sequence are in the 4 default types

Description

Check if the DNA sequence are in the 4 default types

Usage

dnacheck(x)

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

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

[Package rDNAse version 1.1-1 Index]