segmenTier

segmentation of clustering sequences; applicable to RNAseq time-series

https://github.com/raim/segmentier

Science Score: 33.0%

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

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
    Links to: nature.com
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

segmentation of clustering sequences; applicable to RNAseq time-series

Basic Info
  • Host: GitHub
  • Owner: raim
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 1.1 MB
Statistics
  • Stars: 3
  • Watchers: 4
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Created over 9 years ago · Last pushed 12 months ago
Metadata Files
Readme

README.md

CRAN_Status_Badge Downloads

segmenTier

Similarity-Based Segmentation of Multi-Dimensional Signals

segmenTier is a dynamic programming solution to segmentation based on maximization of arbitrary similarity measures within segments. The general idea, theory and this implementation are described in Machne, Murray & Stadler (2017). In addition to the core algorithm, the package provides time-series processing and clustering functions as described in the publication. These are generally applicable where a kmeans clustering yields meaningful results, and have been specifically developed for clustering of the Discrete Fourier Transform of periodic gene expression data (circadian or yeast metabolic oscillations). This clustering approach is outlined in the supplemental material of Machne & Murray (2012), and here is used as a basis of segment similarity measures.

News

  • Version 0.1.2:
    • more general defaults in processTimeseries (use.fft=FALSE, na2zero=FALSE) allow to set-up time-series without any transformations for clustering,
    • Doc and vignette have been substantially re-worked.
  • Version 0.1.3:
    • faster implementation of SNR calculation processTimeseries.

Theory

The theory behind the package is outlined in detail in Machne, Murray & Stadler 2017 and summarized in the package vignette.

Installation

The development version can be installed from github using devtools:

R library(devtools) install_github("raim/segmenTier", subdir = "pkg")

Usage

Quick Guide

```R library(segmenTier)

data(primseg436) # RNA-seq time-series data

cluster timeseries:

tset <- processTimeseries(ts=tsd, na2zero=TRUE, use.fft=TRUE, dft.range=1:7, dc.trafo="ash", use.snr=TRUE) cset <- clusterTimeseries(tset, K=12)

and segment it:

segments <- segmentClusters(seq=cset, M=100, E=2, nui=3, S="icor")

inspect results:

print(segments) plotSegmentation(tset,cset,segments)

and get segment border table for further processing

segments$segments ```

Demos

Usage of the package is further demonstrated in two R demos:

Demo I: Direct Interface to Algorithm

The main low level interface to the algorithm, function segmentClusters, is demonstrated in the file demo/segment_test.R. It produces Supplemental Figure S1 of Machne, Murray & Stadler 2017.

To run it as a demo in R simply type: library(segmenTier) demo("segment_test", package = "segmenTier")

Demo II: Clustering, Batch Segmentation & Parameter Scans

A real-life data set is processed, clustered and segmented with varying parameters in demo/segment_data.R.

This demo runs quite long, since it calculates many segmentations. It provides a comprehensive overview of the effects of segmentation parameters E, M and nui, and produces (among others) Figure 3 and Supplemental Figures S4a and S4b of Machne, Murray & Stadler 2017.

demo("segment_data", package = "segmenTier")

Karl, the segmenTier

Owner

  • Name: Rainer Machne
  • Login: raim
  • Kind: user

theoretical biologist and experimental bioinformatician

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 645
  • Total Committers: 2
  • Avg Commits per committer: 322.5
  • Development Distribution Score (DDS): 0.005
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Rainer Machne r****m@t****t 642
Popa, Ovidiu (ovpop100) o****0@h****e 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: less than a minute
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • 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
  • raim (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cran 209 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 1
  • Total maintainers: 1
cran.r-project.org: segmenTier

Similarity-Based Segmentation of Multidimensional Signals

  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 209 Last month
Rankings
Forks count: 21.0%
Dependent repos count: 23.9%
Stargazers count: 25.5%
Dependent packages count: 28.7%
Average: 34.8%
Downloads: 74.9%
Maintainers (1)
Last synced: 11 months ago

Dependencies

pkg/DESCRIPTION cran
  • Rcpp >= 0.12.7 imports
  • flowClust * suggests
  • flowCore * suggests
  • flowMerge * suggests
  • knitr * suggests
  • rmarkdown * suggests