Skip to content

Commit

Permalink
Removed pamr.knnimpute
Browse files Browse the repository at this point in the history
pamr.knnimpute has been removed from the CRAN package pamr
  • Loading branch information
kateeasonicr authored Apr 18, 2019
1 parent 4439b9c commit 94a7fbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pamCentroids.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pamCentroids <- function(l){
centroids <- lapply(1:ncol(allAssign), function(i, x, label){
cl <- na.omit(as.numeric(x[,i]))
dataList <- list(batchlabels = batchLabels, x = l$data[,names(na.omit(x[,i]))], y = cl, genenames = geneNames, geneid = geneID)
capture.output(dataList <- pamr.knnimpute(dataList))
#capture.output(dataList <- pamr.knnimpute(dataList)) ## pamr.knnimpute has been removed from the CRAN package
capture.output(dataTrain <- pamr.train(dataList))
capture.output(pamTT <- pamr.listgenes(dataTrain, dataList, threshold = 0) %>%
set_rownames(extract(.,,1)) %>%
Expand Down

0 comments on commit 94a7fbc

Please sign in to comment.