getKmerFrequency: Count kmer frequencies in a CDR3

View source: R/RepDaAnalysisFns.R

getKmerFrequencyR Documentation

Count kmer frequencies in a CDR3

Description

Count kmer frequencies in a CDR3

Usage

getKmerFrequency(seqs, type = "NT", k = 4, normForLength = F)

Arguments

seqs

a vector of all CDR3 sequences

type

the type of kmers, NT or AA

k

the size of k, default is 4

normForLength

normalize the kmer frequencies by the length of the CDR3, default is False

Value

a sparse matrix of sequences versus kmer counts


dyohanne/RepAn documentation built on Feb. 3, 2023, 2:41 p.m.