irfcb

I 'R' FlowCytobot (iRfcb): Tools for Analyzing and Processing Data from the IFCB

https://github.com/europeanifcbgroup/irfcb

Science Score: 26.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
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.6%) to scientific vocabulary

Keywords

data-export imaging-flow-cytometry imaging-flowcytobot oceanography plankton quality-control
Last synced: 5 months ago · JSON representation

Repository

I 'R' FlowCytobot (iRfcb): Tools for Analyzing and Processing Data from the IFCB

Basic Info
Statistics
  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 33
Topics
data-export imaging-flow-cytometry imaging-flowcytobot oceanography plankton quality-control
Created over 1 year ago · Last pushed 10 months ago
Metadata Files
Readme Changelog License

README.md

I 'R' FlowCytobot (iRfcb): Tools for Managing Imaging FlowCytobot (IFCB) Data iRfcb website

R-CMD-check CRAN status Codecov test coverage

Overview

The iRfcb R package offers a suite of tools for managing and performing quality control on plankton data generated by the Imaging FlowCytobot (IFCB). It streamlines the processing and analysis of IFCB data, facilitating the preparation of IFCB data and images for publication (e.g. in GBIF, OBIS, EMODNet, SHARK or EcoTaxa). It is especially useful for researchers using, or partly using, the MATLAB ifcb-analysis package.

Functional Highlights

  • Data Management: Functions for reading raw and processed IFCB files, counting and summarizing annotated or classified image data, and accessing, correcting, and merging manually annotated datasets.
  • Quality Control: Tools for geospatial quality control of IFCB data and analysis of Particle Size Distribution.
  • Image Extraction: Tools to extract and prepare images for publication.
  • Taxonomical Data: Tools for handling and analyzing taxonomic data and calculating biomass concentration from image data.

Installation

You can install iRfcb from CRAN using:

r install.packages("iRfcb")

Development version

To access a feature from the development version of iRfcb, install the latest development version from GitHub using the remotes package:

```r

install.packages("remotes")

remotes::install_github("EuropeanIFCBGroup/iRfcb") ```

Documentation and Tutorials

Reference

For a detailed overview of all available iRfcb functions, please visit the reference section:

Tutorials

Explore the key features and capabilities of iRfcb through the tutorials:

Example Usage

iRfcb is designed for integration into IFCB data processing pipelines. For an example, see its implementation in the following project:

Python Dependency

Some functions in iRfcb require Python, and you will be notified when you call one of these functions. You can download Python from the official website: python.org/downloads. For details on what function that require Python, please visit the project's Function Reference.

A Python virtual environment (venv) can be created using the ifcb_py_install() function before calling the function that require Python.

The iRfcb package can also be configured to automatically activate an installed Python venv upon loading by setting an environment variable. This feature is especially useful for users who regularly interact with Python dependencies within the iRfcb package.

USEIRFCBPYTHON

  • Description: The USE_IRFCB_PYTHON environment variable controls whether the package automatically activates a pre-installed Python venv named iRfcb when the package is loaded.
  • Default: By default, this environment variable is not set. This means that the Python environment will not be loaded automatically, and the user must call the ifcb_py_install() functions manually before using a Python feature.
  • Usage: To enable automatic setup of the Python environment when iRfcb is loaded, set USE_IRFCB_PYTHON to "TRUE". Ensure that a venv named iRfcb is installed (e.g. through ifcb_py_install()) in reticulate::virtualenv_root() and available via reticulate::virtualenv_list().

How to Set the USE_IRFCB_PYTHON Variable

You can set the USE_IRFCB_PYTHON variable in your R session or make it persistent across sessions:

  1. Temporary for the session: You can set the variable in your R session before loading iRfcb using the following command: r Sys.setenv(USE_IRFCB_PYTHON = "TRUE")

  2. Permanent across sessions: To ensure this setting persists across R sessions, add it to your .Renviron file in your R home directory. You can easily edit the file using the following command: r usethis::edit_r_environ("user")

Then, add the following line to the file: text USE_IRFCB_PYTHON=TRUE This will automatically set the environment variable each time you start an R session.

Getting help

If you encounter a bug or need an IFCB feature that’s missing, please report it on GitHub with a minimal reproducible example.

Repository

For more details and the latest updates, visit the GitHub repository.

License

This package is licensed under the MIT License.

Owner

  • Name: EuropeanIFCBGroup
  • Login: EuropeanIFCBGroup
  • Kind: organization

GitHub Events

Total
  • Create event: 34
  • Issues event: 14
  • Release event: 10
  • Watch event: 1
  • Delete event: 22
  • Issue comment event: 5
  • Push event: 259
  • Pull request event: 51
  • Fork event: 2
Last Year
  • Create event: 34
  • Issues event: 14
  • Release event: 10
  • Watch event: 1
  • Delete event: 22
  • Issue comment event: 5
  • Push event: 259
  • Pull request event: 51
  • Fork event: 2

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 8
  • Total pull requests: 48
  • Average time to close issues: about 19 hours
  • Average time to close pull requests: about 6 hours
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 0.38
  • Average comments per pull request: 0.0
  • Merged pull requests: 43
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 7
  • Pull requests: 35
  • Average time to close issues: about 23 hours
  • Average time to close pull requests: about 8 hours
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 0.43
  • Average comments per pull request: 0.0
  • Merged pull requests: 30
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • anderstorstensson (6)
  • karingare (1)
  • oggioniale (1)
Pull Request Authors
  • anderstorstensson (48)
Top Labels
Issue Labels
bug (2) enhancement (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 208 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 4
  • Total maintainers: 1
cran.r-project.org: iRfcb

Tools for Managing Imaging FlowCytobot (IFCB) Data

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 208 Last month
Rankings
Dependent packages count: 27.0%
Dependent repos count: 33.3%
Average: 49.1%
Downloads: 87.0%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/r-cmd-check.yml actions
  • actions/checkout v4 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • R.matlab * imports
  • base64enc * imports
  • dplyr * imports
  • imager * imports
  • lubridate * imports
  • reticulate * imports
  • sf * imports
  • shiny * imports
  • stringr * imports
  • terra * imports
  • tibble * imports
  • tidyr * imports
  • zip * imports
inst/python/requirements.txt pypi
  • matplotlib ==3.9.0
  • pandas ==2.2.2
  • scipy ==1.13.0