parallelly::availableCores() instead of
parallel::detectCores() - 1. This avoids exceeding the hard localhost worker
limit enforced by parallelly and respects the mc.cores option set by
CRAN/CI environments.FracFixR() gains two new parameters st1 (default 0.6) and st2 (default
0.999) that allow the user to control the quantile range used to select
informative transcripts for the NNLS regression fit. Previously these thresholds
were fixed at 70% and 96%.get_corrected_counts(): converts the proportion matrix
from FracFixR() back to an interpretable count matrix by multiplying each
sample's proportions by the Total abundance of the matched replicate.TotalSum computation now uses na.rm = TRUE in rowSums() and transcript
selection now explicitly filters out NA values, improving robustness when
Total samples contain missing data.This is the first release of FracFixR, a compositional statistical framework for absolute proportion estimation between fractions in RNA sequencing data.
Core functionality
FracFixR(): Main function for fraction correction using NNLS regressionDiffPropTest(): Statistical testing for differential proportions between conditionsStatistical methods
Visualization
PlotFractions(): Stacked bar plots of fraction proportionsPlotComparison(): Enhanced volcano plots for differential resultsPerformance
We welcome contributions and feedback. Please report issues at: https://github.com/Arnaroo/FracFixR/issues