mat <- matrix(nrow = 4, ncol = 2, data = NA)
mat[,1] <- c('Tumor_expression','Normal_expression','Frequency','Epitope')
mat[,2] <- c(0.470, 0.341, 0.116, 0.073)
wplot(mat, xlab = 'Weight', ylab = 'Criteria', type = 'bar')
wplot(mat, type = 'pie')
Run the code above in your browser using DataLab