Usage
PSOSearch(pts,class,MaxOrder=3,Population=1000,Iteration=100, c1=2,c2=2,TopSNP=10,measure=1,alpha=0)
Arguments
pts
matrix. SNP data. Each row represents a sample. Each column represents a SNP. For the element, 1 -> AA, 2 -> Aa, 3 -> aa.
class
matrix. Class labels of samples. It only has one row. Each column represents a class label. For the element, 1 -> case, 2-> control.
MaxOrder
numeric. The considered maximum order of epistatic interactions. It must be setted as 1, 2, 3, 4, or 5.
Population
numeric. The number of particles. For example, Population=1000.
Iteration
numeric. The number of iterations. For example, Iteration=100.
c1
numeric. The acceleration factor of individual experience. For example, c1=2.
c2
numeric. The acceleration factor of global experience. For example, c2=2.
TopSNP
numeric. The selected SNPs with top indexes. For example, TopSNP=10.
measure
numeric. The used evaluation measure. 1 -> the classic co-information measure; 2 -> the normalized co-information measure; 3 -> TingHu's co-informationn measure.
alpha
numeric. The lower threshold of effects, either main effects or interaction effects, which must be higher or equal to 0, By default, alpha <- 0.