Learn R Programming

tcR (version 2.2.4)

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)), .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 or character vector.

.names

Names for each sequence / row in the .data.

.verbose

if T then 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.

See Also

vis.logo