getComplexity: Local sequence complexity

Description Usage Arguments Value Author(s) Examples

View source: R/getComplexity.R

Description

Computes the local sequence complexity of a protein sequence.

Usage

1
getComplexity(ProtSeq, w = 10)

Arguments

ProtSeq

An AAStringSet object.

w

window size to compute the local complexity

Value

A list of real-valued vectors containing the sequence entropy.

Author(s)

Bernd Fischer

Examples

1
2
3
4
   library(Biostrings)
   proteins = AAStringSet(c(paste(LETTERS[1:26],collapse=""),
                            paste(rep("A",26),collapse="")))
   getComplexity(proteins)

nishuai/Temp documentation built on May 16, 2019, 8:12 p.m.