I have a file with DNA sequence of length 900 characters. I use Biostrings package to read the sequence from the file into R.
library(Biostrings) ref <- readDNAStringSet(filepath)
I get something like
A DNAStringSet instance of length 1 width seq names  900 AACTGGTTACCTGCCGTGAGTAAATTAAAATT...GACGCAACGGTTCCGACTACTCTGCTGCGGTG AGCTTTTCATTCTGACT...
I would like to know, how to get the full DNA sequence into other variable. How to access the full sequence.