Remove samples/columns from list of matrixes Remove samples (ie columns) from every instance of list of matrixes. Note: This function assumes same order of columns in list-elements 'listElem' !
Remove samples/columns from list of matrixes
Remove samples (ie columns) from every instance of list of matrixes. Note: This function assumes same order of columns in list-elements 'listElem' !
removeSampleInList( dat, remSamp, listElem = c("abund", "quant"), silent = FALSE, callFrom = NULL )
dat |
(list) main input to be filtered |
remSamp |
(integer) column number to exclude |
listElem |
(character) names of list-elements where columns indicated with 'remSamp' should be removed |
silent |
(logical) suppress messages |
callFrom |
(character) allows easier tracking of messages produced |
matrix including imputed values or list of final and matrix with number of imputed by group (plus optional plot)
set.seed(2019) datT6 <- matrix(round(rnorm(300)+3,1),ncol=6,dimnames=list(paste("li",1:50,sep=""), letters[19:24])) datL <- list(abund=datT6,quant=datT6,annot=matrix(nrow=nrow(datT6),ncol=2)) datDelta2 <- removeSampleInList(datL,remSam=2)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.