Skip to content

net4pg

0.1.2

Handle Ambiguity of Protein Identifications from Shotgun Proteomics

0packages depend
3.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Laura FancelloFirst published 2021-09-203 releasesCRAN page ↗GitHub ↗

In shotgun proteomics, shared peptides (i.e., peptides that might originate from different proteins sharing homology, from different proteoforms due to alternative mRNA splicing, post-translational modifications, proteolytic cleavages, and/or allelic variants) represent a major source of ambiguity in protein identifications. The 'net4pg' package allows to assess and handle ambiguity of protein identifications. It implements methods for two main applications. First, it allows to represent and quantify ambiguity of protein identifications by means of graph connected components (CCs). In graph theory, CCs are defined as the largest subgraphs in which any two vertices are connected to each other by a path and not connected to any other of the vertices in the supergraph. Here, proteins sharing one or more peptides are thus gathered in the same CC (multi-protein CC), while unambiguous protein identifications constitute CCs with a single protein vertex (single-protein CCs). Therefore, the proportion of single-protein CCs and the size of multi-protein CCs can be used to measure the level of ambiguity of protein identifications. The package implements a strategy to efficiently calculate graph connected components on large datasets and allows to visually inspect them. Secondly, the 'net4pg' package allows to exploit the increasing availability of matched transcriptomic and proteomic datasets to reduce ambiguity of protein identifications. More precisely, it implement a transcriptome-based filtering strategy fundamentally consisting in the removal of those proteins whose corresponding transcript is not expressed in the sample-matched transcriptome. The underlying assumption is that, according to the central dogma of biology, there can be no proteins without the corresponding transcript. Most importantly, the package allows to visually inspect the effect of the filtering on protein identifications and quantify ambiguity before and after filtering by means of graph connected components. As such, it constitutes a reproducible and transparent method to exploit transcriptome information to enhance protein identifications. All methods implemented in the 'net4pg' package are fully described in Fancello and Burger (2022) doi:10.1186/s13059-022-02701-2.

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-macos-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-06-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 444 wordsVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

3.3K
CRAN downloads in the past year
Rank #15,616 · ~9/day · ~272/mo
Daily download trend is not available in this view yet.
22330 days
72390 days
3.3K1 year
Compare downloads with other packages →
Also on99 r2u19 c2d4u

Repository

Repository
2Stars
1Forks
0Open issues
0Open PRs
0Releases
36Commits
1Contributors
36 commits · Last activity 2022-06-29

Stars over time

2022-07-17 · 22026-07-07 · 2

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/laurafancello/net4pg on 2026-07-19.

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
Imports (6)
data.tablegraphmagrittrMatrixmethodsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 1,093 (46%)Vignettes 651 (27%)Rd 629 (27%)
Code characteristics
Cyclomatic complexity
7.0 median / 17 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

9 9 exported

Complexity

8.1 avg / 17 max

Call network

9 nodes / 0 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author, Contributor
Contributors (1)
Author, Contributor
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.2Latest
    2025-12-14 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.1.1
    2022-09-07 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.0
    2021-09-20
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-09-20
Total releases
3 / 5 yrs
License
GPL-3 OSI
Minimum R
≥ 3.6.0
Download size
375 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →