Is a band 'abnormal'?

Description

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

Usage

1
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.

Author(s)

Karl Dykema

See Also

cset2band

Examples

1
2
3
4
5
6
7
		#Not abnormal
	isAbnormal(c(1,NA))
		#Abnormal; +
	isAbnormal(c(1,NA,1))
		#Abnormal; -
	isAbnormal(c(1,NA,-1,-1,-1))