kmer_count: Return kmer count per sequence for the length of kmer desired

Description Usage Arguments Value Examples

View source: R/kmer_count.R

Description

Return kmer count per sequence for the length of kmer desired

Usage

1
kmer_count(infile, k, output_file = NA)

Arguments

infile

the object that is the path to gzippped FASTQ file

k

the length of kmer

output_file

File to save plot to. Default NA.

Value

kmers counts per sequence

Examples

1
2
3
4
infile <- system.file("extdata", "10^5_reads_test.fq.gz",
    package = "qckitfastq")
km<-kmer_count(infile,k=4)
km[1:20,1:10]

compbiocore/qckitfastq documentation built on Sept. 20, 2019, 9:30 a.m.