isAbnormal: Is a band 'abnormal'?

Description Usage Arguments Details Author(s) See Also Examples

View source: R/reb.R

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))
	

reb documentation built on April 28, 2020, 8:35 p.m.