SVM classification for each feature

Share:

Description

svm class creates a list with auc value

Usage

1
svm_classification(TCGA_matrix, tumour, normal, nfs)

Arguments

TCGA_matrix

gene expression matrix

tumour

barcode samples for a class

normal

barcode samples for another class

nfs

nfs split data into a training and test set

Value

a list with AUC value for pairwise pathway

Examples

1
2
3
nf <- 60
res_class<-svm_classification(TCGA_matrix=score_euc_dist,nfs=nf,
normal=colnames(norm[,1:10]),tumour=colnames(tumo[,1:10]))