isAbnormal: Is a band 'abnormal'?

Description Usage Arguments Details Author(s) See Also Examples

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


Search within the reb package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.