-
Notifications
You must be signed in to change notification settings - Fork 1
Feat@vtrack fft #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
aviezerl
wants to merge
12
commits into
master
Choose a base branch
from
feat@vtrack-fft
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feat@vtrack fft #29
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Bumped package version to 4.3.8. - Introduced new virtual track functions: `kmer.fft`, `kmer.fft.peak`, and `kmer.fft.peak.power` for FFT analysis of kmer occurrence signals.
- Improved documentation for `kmer.count`, `kmer.frac`, and `kmer.fft` functions, clarifying the behavior of the `extend` parameter and window functions. - Added validation for the frequency parameter in `kmer.fft` to ensure it is between 0 and 0.5. - Updated the `get_kmer_signal` function to accept additional parameters for better signal processing. - Introduced comprehensive tests for kmer FFT functionality, covering various scenarios including different window functions and frequency validations.
- Replaced calls to `Rf_GetOption` with `Rf_GetOption1` for improved option handling in `rdbinterval.cpp`, `rdbutils.cpp`, and `TrackExpressionScanner.cpp`. - Updated the `gtrack_create_dense` function to use `isDataFrame` for data frame validation. - Added a compatibility definition for `isDataFrame` in `rdbutils.h` for R versions below 4.5.0.
…tibility macro - Changed the validation check in `gtrack_create_dense` to use `Rf_isDataFrame` for improved clarity and consistency. - Corrected the compatibility macro definition for `Rf_isDataFrame` in `rdbutils.h` to ensure proper functionality in R versions below 4.5.0.
- Added clarification on converting frequency to period in base pairs in the documentation for `kmer.fft.peak` and `kmer.fft.peak.power`. - Expanded the description of the `freq` parameter to include its relationship with the period and valid range.
- Added KISS FFT library to enhance FFT functionality in genomic sequence analysis. - Updated `KmerFFT` class to utilize KISS FFT for FFT computations, replacing the previous simple DFT implementation. - Enhanced documentation in `DESCRIPTION` and `README.md` to acknowledge the use of KISS FFT. - Introduced new header and source files for KISS FFT integration, ensuring proper configuration and memory management.
- findListElementIndex returns -1 when parameters aren't found - Negative indices were used directly with VECTOR_ELT causing undefined behavior - Added proper index validation before accessing list elements - Required parameters (pssm, kmer, freq) now throw clear error messages when missing - Optional parameters (bidirect, extend, strand, window) gracefully handle missing values - Affects PWM, kmer.count, kmer.frac, and kmer.fft virtual track functions
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.