ModStringSet-io | R Documentation |
Functions to read/write an ModStringSet object from/to a file.
readModDNAStringSet(
filepath,
format = "fasta",
nrec = -1L,
skip = 0L,
seek.first.rec = FALSE,
use.names = TRUE,
with.qualities = FALSE
)
readModRNAStringSet(
filepath,
format = "fasta",
nrec = -1L,
skip = 0L,
seek.first.rec = FALSE,
use.names = TRUE,
with.qualities = FALSE
)
writeModStringSet(
x,
filepath,
append = FALSE,
compress = FALSE,
compression_level = NA,
format = "fasta",
...
)
filepath , format , nrec , skip , seek.first.rec , use.names , with.qualities , append , compress , compression_level , ... |
See |
x |
A |
A ModStringSet
of the defined type.
seqs <- paste0(paste(alphabet(ModDNAString()), collapse = ""),
c("A","G","T"))
seqs
set <- ModDNAStringSet(seqs)
set
file <- tempfile()
writeModStringSet(set, file)
read <- readModDNAStringSet(file)
read
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.