Complement missing EntryNames in annotation
This function helps replacing missing EntryNames (in $annot) after reading quantification results.
To do so the comumn-names of annCol
will be used :
The content of 2nd element (and optional 3rd element) will be used to replace missing content in column defined by 1st element.
replMissingProtNames( x, annCol = c("EntryName", "Accession", "SpecType"), silent = FALSE, callFrom = NULL )
x |
(list) output of |
annCol |
(character) the column-names form |
silent |
(logical) suppress messages |
callFrom |
(character) allow easier tracking of message(s) produced |
list as input, but with missing elments of $annot completed (if available in other columns)
dat <- list(quant=matrix(sample(11:99,9,replace=TRUE), ncol=3), annot=cbind(EntryName=c( "YP010_YEAST","",""),Accession=c("A5Z2X5","P01966","P35900"), SpecType=c("Yeast",NA,NA))) replMissingProtNames(dat)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.