Description Usage Arguments Examples
View source: R/analyzeDuplicatedPeptides.R
get a list of duplicates (their indices) ordered by intensity
1 | getListOfDuplicatedOrderedByIntensity(rownames, intensities)
|
rownames |
rownames |
intensities |
intensities |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | nam = c('a','a','b','e','c','d','f','e','e')
intens = c(1,2 , 1 , 1 , 2 , 3 , 4 , 2 , 0)
res= getListOfDuplicatedOrderedByIntensity(nam,intens)
nam[res[[1]]]
intens[res[[1]]]
nam[res[[2]]]
intens[res[[2]]]
data(SDat)
rownames = SDat$pepinfo$ProteinName
intens = apply(SDat$Intensity,1,mean)
res = getListOfDuplicatedOrderedByIntensity(rownames, apply(SDat$Intensity,1,mean))
res
intens[res[[81]]]
rownames[res[[81]]]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.