Description Usage Arguments Value See Also Examples
View source: R/kmr_map_kmers.R
kmr_map_kmers
1 | kmr_map_kmers(kmers, genome, seqname = NULL)
|
kmers |
kmer table |
genome |
a path to a fasta sequence |
seqname |
name of the sequence |
GRange object of mapped kmers
Other kmer_help:
kmr_compare()
,
kmr_length_fasta()
,
kmr_plot_map()
,
kmr_plot_response()
,
kmr_position_coverage()
,
kmr_response()
,
kmr_scan_k_min()
Other kmer_help:
kmr_compare()
,
kmr_length_fasta()
,
kmr_plot_map()
,
kmr_plot_response()
,
kmr_position_coverage()
,
kmr_response()
,
kmr_scan_k_min()
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | if (interactive()) {
fa <- system.file("testdata/phix174.fasta", package = "kmerize")
a <- system.file("testdata/phix174-pe_w_err_5k_30q.fastq.gz",
package = "kmerize")
b <- system.file("testdata/phix174_m-pe_w_err_5k_30q.fastq.gz",
package = "kmerize")
x <- kmr_scan_k_min(a, b, k = 9, min_kmers = 3, cleanup = FALSE)
rr <- kmr_read_rds(x$kmer_tbl)
kmap <- kmr_map_kmers(rr, genome = fa, "phi-X174")
kmap
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.