https://github.com/bblodfon/usefun

Various useful R functions

https://github.com/bblodfon/usefun

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.1%) to scientific vocabulary

Keywords

functions r r-package
Last synced: 5 months ago · JSON representation

Repository

Various useful R functions

Basic Info
  • Host: GitHub
  • Owner: bblodfon
  • License: other
  • Language: R
  • Default Branch: main
  • Homepage:
  • Size: 171 KB
Statistics
  • Stars: 4
  • Watchers: 1
  • Forks: 2
  • Open Issues: 0
  • Releases: 4
Topics
functions r r-package
Created over 6 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License

README.md

usefun

R build status codecov CRAN status Downloads <!-- badges: end -->

A set of miscellaneous functions that I have used in various projects and in other R packages. Some of the most important are:

  • powerset_icounts(): find common (patient) ids in incomplete multi-omic datasets
  • get_roc_stats(): the ROC statistics the way you want it!
  • pr.test(): compare two PR curves (AUCs) and get a p-value!
  • pr.boot(): bootstrap CIs for PR curve
  • partial_permut(): get a partially-scrambled vector (you choose how much!)
  • normalize_to_range(): normalize a vector to a specified range
  • dec_to_bin(): convert a decimal (base-10) number to its binary representation
  • get_percentage_of_matches(): find the percentage of common elements between two vectors
  • outersect(): find the non-common elements between two vectors (outer-section!)
  • colors.100: a vector of 100 as much as possible distinct colors

Install

CRAN version: install.packages("usefun")

Development version: devtools::install_github("bblodfon/usefun")

Examples

See examples in the functions documentation and in the respective tests. For a full biomarker analysis that uses various functions from this package, see this report.

Owner

  • Name: John Zobolas
  • Login: bblodfon
  • Kind: user

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 116
  • Total Committers: 1
  • Avg Commits per committer: 116.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 12
  • Committers: 1
  • Avg Commits per committer: 12.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
john b****n@g****m 116

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 359 last-month
  • Total docker downloads: 21,721
  • Total dependent packages: 1
  • Total dependent repositories: 2
  • Total versions: 10
  • Total maintainers: 1
cran.r-project.org: usefun

A Collection of Useful Functions by John

  • Versions: 10
  • Dependent Packages: 1
  • Dependent Repositories: 2
  • Downloads: 359 Last month
  • Docker Downloads: 21,721
Rankings
Docker downloads count: 0.6%
Dependent packages count: 18.1%
Dependent repos count: 19.3%
Average: 19.8%
Forks count: 21.0%
Downloads: 29.0%
Stargazers count: 30.9%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • dplyr * imports
  • graphics * imports
  • stats * imports
  • utils * imports
  • covr * suggests
  • readr * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • actions/upload-artifact main composite
  • r-lib/actions/setup-pandoc v1 composite
  • r-lib/actions/setup-r v1 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/rhub.yaml actions
  • r-hub/actions/checkout v1 composite
  • r-hub/actions/platform-info v1 composite
  • r-hub/actions/run-check v1 composite
  • r-hub/actions/setup v1 composite
  • r-hub/actions/setup-deps v1 composite
  • r-hub/actions/setup-r v1 composite