Comments (1)
@ mariaderrico
cat ${COMET} \
| awk -F"\t" 'NF==19{print $9"\t"$16}' \
| cut -d"," -f1 \
| sort -gr -k1 -S256M \
| awk 'BEGIN{dc=0}$2~/^REV_/{dc++}{fdr=dc/(NR-dc);print dc"\t"NR"\t"fdr}' \
| awk '$NF<0.05{print}' \
| tail
produces
251 5316 0.0495558
252 5317 0.0497532
252 5318 0.0497434
252 5319 0.0497336
253 5320 0.0499309
253 5321 0.0499211
253 5322 0.0499112
253 5323 0.0499014
253 5324 0.0498915
253 5325 0.0498817
and
library(protViz)
S <- lapply(F <- list.files(pattern="*.comet.txt"),
function(f) read.table(f, header = TRUE, fill = TRUE, skip=1))
rv <- do.call('rbind', lapply(S, protViz::summary.cometdecoy))
rv$mgf <- F
knitr::kable(rv)
results in
nPSM | psmFdrCutoff | nDecoyPSM | nConfidentPSM | nDecoyPeptide | nConfidentPeptide | nDecoyProteins | nConfidentProteins | fdrPSM | fdrPeptide | fdrProtein | mgf |
---|---|---|---|---|---|---|---|---|---|---|---|
52158 | 0.05 | 254 | 5327 | 199 | 3352 | 199 | 1986 | 0.0476816 | 0.0593675 | 0.1002014 | 20201022_002_S223359_474-B4.comet.txt |
5327 = 5325 + 2
Q.E.D.
from protviz.
Related Issues (18)
- Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’ HOT 1
- new by labeling using legend with fragment ion ordered by m/z values HOT 1
- `stringsAsFactors = FALSE` - upcoming R 4.0.0. HOT 1
- decoy comet - replace evalue by sp score
- template<class _Arg1, class _Arg2, class _Result> struct std::binary_function’ is deprecated HOT 1
- clang 16 HOT 1
- fragmentIon() for modfied sequences HOT 2
- remove deisotoper code
- clang 17 warnings HOT 1
- use roxygen2
- FASTA HOT 1
- add 2+ example in man page HOT 1
- add formular in docu C_term + N_term + Hydrogen - Electron;
- remove Rcpp:::CxxFlags and Rcpp:::LdFlags() in Makevar HOT 1
- add decoy string parameter
- replace pkg RUnit by testthat HOT 1
- Documented arguments not in \usage in documentation object 'PTM_MarkerFinder':
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from protviz.