computeWeight: working on...

Usage Arguments Examples

Usage

1

Arguments

x

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (x) 
{
    aa.count <- table(factor(x, levels = levels(SEQINR.UTIL$CODON.AA$L)))
    sum(AA.weight * aa.count[2:21])/1000
  }

PengyiYang/ReFraction documentation built on May 14, 2019, 11:01 p.m.