tcR (version 1.1)

kmer.profile: Profile of sequences of equal length.

Description

Return profile for the given character vector or a data frame with sequences of equal length or list with them.

Usage

kmer.profile(.data, .names = rep('Noname', times=length(.data)), .meat = T, .verbose = F)

Arguments

.data
Either list with elements of one of the allowed classes or object with one of the class: data.frame with first column with character sequences and second column with number of sequences if .meat = T; character vector,
.names
Names for each sequence / row in the .data.
.meat
Use number of sequences (second column of .data data frame) or not.
.verbose
If T than print processing output.

Value

  • Return data frame with first column "Symbol" with all possible symbols in the given sequences and other columns with names "1", "2", ... for each position with percentage for each symbol.