Learn R Programming

funbarRF (version 1.0.2)

read_seq_txt: Conversion of DNA sequences of character types to DNAStringSet types.

Description

This function can be used for conversion of sequence dataset of character types to DNAString format.

Usage

read_seq_txt (seq.file)

Arguments

seq.file

A character vector of barcode sequences.

Value

The function returns input sequences in DNAString format.

References

  1. Pages H., Aboyoun P., Gentleman R., and DebRoy S. (2016). Biostrings: String objects representing biological sequences, and matching algorithms. R package version 2.42.1.

See Also

DNAStringSet, readDNAStringSet, XStringSet, writeXStringSet

Examples

Run this code
# NOT RUN {
data (fun_dat)
bs <- c("AATG","ATTGCCGTA","TTGAACGAAT","TGGCATTG")
read_seq_txt (bs)
kk <- read_seq_txt (fun_dat$seq)

# }

Run the code above in your browser using DataLab