Science Score: 54.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.3%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: neuroconductor
  • License: other
  • Language: R
  • Default Branch: master
  • Size: 123 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 3
Created almost 5 years ago · Last pushed about 3 years ago
Metadata Files
Readme Changelog License Code of conduct Citation Codemeta

README.md

eegUtils

Repo
Status Coverage
Status R-CMD-check <!-- badges: end --> DOI

Overview

eegUtils is a package for the processing, manipulation, and plotting of EEG data. It includes functions for importing data from a variety of file formats (including Biosemi, Brain Vision Analyzer, and EEGLAB), many of the typical steps in pre-preprocessing (filtering, referencing, artefact rejection), more advanced processing techniques (time-frequency analysis, ICA), and several types of plot that are common in the field (ERP plots, time-frequency plots, topographical scalp maps). Although it uses custom object classes, it is designed such that these are always translatable to standard R data.frames, and thus can be used with any of the myriad packages and methods that support standard R formats.

Installation

The package is very much under active development and is subject to a lot of changes. As such, it is not currently available on CRAN.

Install the latest released version from Github as below.

``` r

install.packages("remotes")

remotes::install_github("craddm/eegUtils") ```

To install the latest development version, install from the develop branch as below.

r remotes::install_github("craddm/eegUtils@develop")

You can also find the package on Neuroconductor - for more information about installing packages from Neuroconductor, see the Neuroconductor installation tutorial

Usage

The following examples show how to use eegUtils to produce a few common plots of EEG data from some simple included example data.

ERP butterfly plots

``` r library(eegUtils)

>

> Attaching package: 'eegUtils'

> The following object is masked from 'package:stats':

>

> filter

plotbutterfly(demoepochs) ```

<!-- -->

Topographical plots

``` r topoplot(demoepochs, timelim = c(.22, .25 ))

> Using electrode locations from data.

> Plotting head r 95 mm

```

<!-- -->

Power spectral density

``` r plotpsd(demoepochs)

> Removing channel means per epoch...

> Computing Power Spectral Density using Welch's method.

> FFT length: 256

> Segment length: 84

> Overlapping points: 42 (50% overlap)

```

<!-- -->

Time-frequency analysis

``` r plottfr(computetfr(demoepochs, foi = c(4, 30), nfreq = 20, n_cycles = 3))

> Computing TFR using Morlet wavelet convolution

> Output frequencies using linear spacing: 4 5.37 6.74 8.11 9.47 10.84 12.21 13.58 14.95 16.32 17.68 19.05 20.42 21.79 23.16 24.53 25.89 27.26 28.63 30

> Removing channel means per epoch...

> Returning signal averaged over all trials.

```

<!-- -->

There are many potential processing steps that precede the production of plots like these. For more examples of how to import and process data, or import data from other sources, see the eegUtils website!

Contributing

If you have any bug reports or feature requests, please report them using the Github issue tracker.

If you would like to contribute any code, be that anything from a documentation fix to a whole new feature, then please begin by raising an issue before moving on to file a Github pull request.

You can find a guide to how Github issues and pull requests work here.

Code of Conduct

Please note that the eegUtils project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Owner

  • Name: neuroconductor
  • Login: neuroconductor
  • Kind: organization

Citation (CITATION.cff)

# -----------------------------------------------------------
# CITATION file created with {cffr} R package, v0.1.1
# See also: https://docs.ropensci.org/cffr/
# -----------------------------------------------------------
 
cff-version: 1.2.0
message: 'To cite package "eegUtils" in publications use:'
type: software
license: MIT
title: 'eegUtils: Utilities for Electroencephalographic (EEG) Analysis'
version: 0.6.3.9000
abstract: EEG processing and visualization tools. Includes import functions for 'BioSemi'
  (.BDF), 'Neuroscan' (.CNT), 'Brain Vision Analyzer' (.VHDR), 'EEGLAB' (.set) and
  'Fieldtrip' (.mat). Many preprocessing functions such as referencing, epoching,
  filtering, and ICA are available. There are a variety of visualizations possible,
  including timecourse and topographical plotting.
authors:
- family-names: Craddock
  given-names: Matt
  email: matt@mattcraddock.com
preferred-citation:
  type: manual
  title: 'eegUtils: Utilities for Electroencephalographic (EEG) Analysis'
  authors:
  - family-names: Craddock
    given-names: Matt
    email: matt@mattcraddock.com
  version: 0.6.3.9000
  abstract: EEG processing and visualization tools. Includes import functions for
    'BioSemi' (.BDF), 'Neuroscan' (.CNT), 'Brain Vision Analyzer' (.VHDR), 'EEGLAB'
    (.set) and 'Fieldtrip' (.mat). Many preprocessing functions such as referencing,
    epoching, filtering, and ICA are available. There are a variety of visualizations
    possible, including timecourse and topographical plotting.
  repository-code: https://github.com/craddm/eegUtils
  url: https://craddm.github.io/eegUtils
  date-released: '2021-07-09'
  contact:
  - family-names: Craddock
    given-names: Matt
    email: matt@mattcraddock.com
  keywords:
  - eeg
  - eeg-analysis
  - eeg-data
  - eeg-signals
  - eeg-signals-processing
  - r
  - rstats
  license: MIT
  year: '2021'
repository-code: https://github.com/craddm/eegUtils
url: https://craddm.github.io/eegUtils
date-released: '2021-07-09'
contact:
- family-names: Craddock
  given-names: Matt
  email: matt@mattcraddock.com
keywords:
- eeg
- eeg-analysis
- eeg-data
- eeg-signals
- eeg-signals-processing
- r
- rstats

CodeMeta (codemeta.json)

{
  "@context": [
    "https://doi.org/10.5063/schema/codemeta-2.0",
    "http://schema.org"
  ],
  "@type": "SoftwareSourceCode",
  "identifier": "eegUtils",
  "description": "A collection of functions for EEG processing. Includes import\n  functions for Biosemi (BDF) and Neuroscan (CNT), topographical plotting, referencing, and epoching.",
  "name": "eegUtils: A collection of utilities for EEG analysis ",
  "codeRepository": "https://github.com/craddm/eegUtils",
  "issueTracker": "https://github.com/craddm/eegUtils/issues",
  "license": "https://spdx.org/licenses/MIT",
  "version": "0.5.0",
  "programmingLanguage": {
    "@type": "ComputerLanguage",
    "name": "R",
    "version": "3.6.0",
    "url": "https://r-project.org"
  },
  "runtimePlatform": "R version 3.6.0 (2019-04-26)",
  "author": [
    {
      "@type": "Person",
      "givenName": "Matt",
      "familyName": "Craddock",
      "email": "matt@mattcraddock.com"
    }
  ],
  "contributor": [
    {
      "@type": "Person",
      "givenName": "Matti",
      "familyName": "Vuorre",
      "email": "mv2521@columbia.edu"
    }
  ],
  "maintainer": [
    {
      "@type": "Person",
      "givenName": "Matt",
      "familyName": "Craddock",
      "email": "matt@mattcraddock.com"
    }
  ],
  "softwareSuggestions": [
    {
      "@type": "SoftwareApplication",
      "identifier": "testthat",
      "name": "testthat",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=testthat"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "vdiffr",
      "name": "vdiffr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=vdiffr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "covr",
      "name": "covr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=covr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "knitr",
      "name": "knitr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=knitr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rmarkdown",
      "name": "rmarkdown",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rmarkdown"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "JADE",
      "name": "JADE",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=JADE"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "ica",
      "name": "ica",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ica"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "geigen",
      "name": "geigen",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=geigen"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "fICA",
      "name": "fICA",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=fICA"
    }
  ],
  "softwareRequirements": [
    {
      "@type": "SoftwareApplication",
      "identifier": "ggplot2",
      "name": "ggplot2",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ggplot2"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "dplyr",
      "name": "dplyr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=dplyr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "scales",
      "name": "scales",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=scales"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "mgcv",
      "name": "mgcv",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=mgcv"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "purrr",
      "name": "purrr",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=purrr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "shiny",
      "name": "shiny",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=shiny"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "tidyr",
      "name": "tidyr",
      "version": ">= 1.0.0",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=tidyr"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "miniUI",
      "name": "miniUI",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=miniUI"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "rlang",
      "name": "rlang",
      "version": ">= 0.4.0",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=rlang"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "MASS",
      "name": "MASS",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=MASS"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "Matrix",
      "name": "Matrix",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=Matrix"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "edfReader",
      "name": "edfReader",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=edfReader"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "signal",
      "name": "signal",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=signal"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "tibble",
      "name": "tibble",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=tibble"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "stats",
      "name": "stats"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "matrixStats",
      "name": "matrixStats",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=matrixStats"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "R.matlab",
      "name": "R.matlab",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=R.matlab"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "viridis",
      "name": "viridis",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=viridis"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "pracma",
      "name": "pracma",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=pracma"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "abind",
      "name": "abind",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=abind"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "data.table",
      "name": "data.table",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=data.table"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "ini",
      "name": "ini",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=ini"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "shinydashboard",
      "name": "shinydashboard",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=shinydashboard"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "plotly",
      "name": "plotly",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=plotly"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "future.apply",
      "name": "future.apply",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=future.apply"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "Rcpp",
      "name": "Rcpp",
      "provider": {
        "@id": "https://cran.r-project.org",
        "@type": "Organization",
        "name": "Comprehensive R Archive Network (CRAN)",
        "url": "https://cran.r-project.org"
      },
      "sameAs": "https://CRAN.R-project.org/package=Rcpp"
    },
    {
      "@type": "SoftwareApplication",
      "identifier": "R",
      "name": "R",
      "version": ">= 3.2.0"
    }
  ],
  "releaseNotes": "https://github.com/craddm/eegUtils/blob/master/NEWS.md",
  "readme": "https://github.com/craddm/eegUtils/blob/master/README.md",
  "fileSize": "75965.192KB",
  "contIntegration": [
    "https://codecov.io/github/craddm/eegUtils?branch=master",
    "https://travis-ci.org/craddm/eegUtils",
    "https://ci.appveyor.com/project/craddm/eegUtils"
  ],
  "developmentStatus": "http://www.repostatus.org/#wip",
  "copyrightHolder": {},
  "funder": {},
  "keywords": [
    "eeg",
    "eeg-signals-processing",
    "eeg-analysis",
    "eeg-signals",
    "eeg-data",
    "r",
    "rstats"
  ]
}

GitHub Events

Total
Last Year

Dependencies

.github/workflows/autoci.yml actions
  • actions/cache v1 composite
  • actions/checkout v2 composite
  • actions/create-release v1 composite
  • actions/upload-artifact master composite
  • actions/upload-release-asset v1.0.1 composite
  • adigherman/actions/delete-release-by-tag master composite
  • adigherman/actions/get-release-asset master composite
  • adigherman/actions/get-repo-name master composite
  • adigherman/actions/get-repo-version master composite
  • adigherman/actions/install-sysdeps-linux master composite
  • adigherman/actions/install-sysdeps-macos master composite
  • adigherman/actions/install-sysdeps-windows master composite
  • msys2/setup-msys2 v2 composite
  • r-lib/actions/setup-pandoc master composite
  • r-lib/actions/setup-r master composite
  • r-lib/actions/setup-tinytex master composite
.github/workflows/autoci_pkgdown.yml actions
  • actions/checkout v2 composite
  • r-lib/actions/setup-pandoc master composite
  • r-lib/actions/setup-r master composite
DESCRIPTION cran
  • R >= 3.3.0 depends
  • MASS * imports
  • Matrix * imports
  • Rcpp * imports
  • abind * imports
  • data.table * imports
  • dplyr >= 1.0.0 imports
  • future.apply * imports
  • ggplot2 * imports
  • isoband * imports
  • matrixStats * imports
  • miniUI * imports
  • plotly * imports
  • pracma * imports
  • purrr * imports
  • rlang >= 0.4.0 imports
  • scales * imports
  • shiny * imports
  • signal * imports
  • stats * imports
  • tibble * imports
  • tidyr >=1.0.0 imports
  • JADE * suggests
  • R.matlab * suggests
  • covr * suggests
  • edfReader * suggests
  • fICA * suggests
  • geigen * suggests
  • hdf5r * suggests
  • ica * suggests
  • infomax >= 0.1.0 suggests
  • ini * suggests
  • knitr * suggests
  • mgcv * suggests
  • rmarkdown * suggests
  • testthat * suggests
  • vdiffr * suggests
  • whitening * suggests