Description Usage Arguments Value See Also Examples
Read a file in tab format.
1 | kmr_read_tab(afile)
|
afile |
file name (obligatory extension .tab) |
data.frame with kmers as DNAStringSet
Other kmer_core:
kmr_count()
,
kmr_install_kmc()
,
kmr_read_parquet()
,
kmr_read_rds()
,
kmr_write_parquet()
,
kmr_write_rds()
,
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_tab(out_file)
dat <- kmr_read_tab(out_file)
head(dat)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.