rdnFixer: Randomly fill nucleotides

Description Usage Arguments Value

View source: R/parse_gb_file.R

Description

This fuction change liters "u", "r", "y", "s", "w", "k", "m", "b", "d", "h", "v", "n" or "-" in genome sequence (randomly) into corresponding nucleotide "a", "t", "c" or "g".

Usage

1
rdnFixer(genome)

Arguments

genome

A DNAString object. It is a class defined in Biostrings package. It contains the whole genome sequence of a specie.

Value

A large character vector. It countains the nucleotide sequence with all letters except "a", "t", "c", "g" changed.


shuyuzheng/Chloroplot documentation built on Dec. 23, 2021, 1:28 a.m.