isAbnormal {reb}R Documentation

Is a band 'abnormal'?

Description

Returns 1 or -1 indicating a chromosomal change based upon an input percentage.

Usage

isAbnormal(x, percent = 0.5)

Arguments

x genomic data, can contain NA's
percent numeric argument - a fraction or percentage

Details

This simple function is used by cset2band.

Value

Author(s)

Karl Dykema

See Also

cset2band

Examples

                #Not abnormal
        isAbnormal(c(1,NA))
                #Abnormal; +
        isAbnormal(c(1,NA,1))
                #Abnormal; -
        isAbnormal(c(1,NA,-1,-1,-1))
        


[Package reb version 1.10.1 Index]