Description Usage Arguments Value See Also Examples
View source: R/kmr_write_rds.R
Write kmer database as rds format.
1 | kmr_write_rds(db, to = db)
|
db |
Name of kmer database |
to |
Name of target file (default same as db name) |
logical
Other kmer_core:
kmr_count()
,
kmr_install_kmc()
,
kmr_read_parquet()
,
kmr_read_rds()
,
kmr_read_tab()
,
kmr_write_parquet()
,
kmr_write_tab()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | if (interactive()) {
fa <- system.file("testdata/phix174_m-pe_w_err_5k_30q.fastq.gz",
package = "kmerize")
out_file <- file.path(tempdir(), "phx")
k <- 7
kmr_count(fa, out_file, k = k, f = "q")
kmr_write_rds(out_file)
dat <- kmr_read_rds(out_file)
head(dat)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.