-
likelihood
param is deprecated, from now on, weights (positive or negative) should go to themor
column ofnetwork
. Methods will still run iflikelihood
is specified, however they will be set to 1. -
Added
minsize
argument to all methods, set to 5 by default. Sources containing less than this value of targets in the input mat will be removed from the calculations. -
Changed default behavior of the
decouple
function. Now if no methods are specified in thestatistics
argument, the function will only run the top performers in our benchmark (mlm
,ulm
andwsum
). To run all methods like before, setstatistics
to 'all'. Moreover, the argumentconsensus_stats
has been added to filter statistics for the calculation of theconsensus
score. By default it only usesmlm
,ulm
andnorm_wsum
, or ifstatistics
=='all' all methods returned after runningdecouple
. -
viper
method:- Now properly handles weights in
mor
by normalizing them to -1 and +1.
- Now properly handles weights in
-
ulm
/mlm
/udt
/mdt
methods:- Changed how they processed the input network. Before the model matrix only contained the intersection of features between mat and network's targets, now it incorporates all features coming from mat ensuring a more robust prediction. Prediction values may change slightly from older versions.
- Deprecated
sparse
argument.
-
ora
method:- Now takes top 5% features as default input instead of 300 up and bottom features.
- Added seed to randomly break ties
-
consensus
method:- No longer based on
RobustRankAggreg
. Now the consensus score is the mean of the activities obtained after a double tailed z-score transformation.
- No longer based on
-
Discarded
filter_regulons
function. -
Moved major dependencies to Suggest to reduce the number of dependencies needed.
-
Updated README by adding:
- Kinase inference example
- Graphical abstract
- Manuscript and citation
- New vignette style
-
Added wrappers to easily query
Omnipath
, one of the largest data-bases collecting prior-knowledge resources. Added these functions:show_resources
: shows available resources insideOmnipath
.get_resource
: gets any resource fromOmnipath
.get_dorothea
: gets the DoRothEA gene regulatory network for transcription factor (TF) activity estimation. Note: this version is slightly different from the one in the packagedorothea
since it contains new edges and TFs and also weights the interactions by confidence levels.get_progeny
: gets the PROGENy model for pathway activity estimation.
-
Added
show_methods
function, it shows how many statistics are currently available. -
Added
check_corr
function, it shows how correlated regulators in a network are. It can be used to check for co-linearity formlm
andmdt
. -
Added new error for
mlm
when co-variables are co-linear (regulators are too correlated to fit a model).
-
wmean
andwsum
now return the correct empirical p-values. -
ulm
,mlm
,mdt
andudt
now accept matrices with one column as input. -
Results from
ulm
andmlm
now correctly return un-grouped. -
Methods correctly run when
mat
has no column names.
-
Some method's names have been changed to make them easier to identify:
pscira
now is called Weighted Sum (wsum
).mean
now is called Weighted Mean (wmean
).scira
now is called Univariate Linear Model (ulm
).
-
The column name for
tf
in the output tibbles has been changed tosource
. -
Updated documentation for all methods.
-
Updated vignette and README.
-
decouple
function now accepts order mismatch between the list of methods and the list of methods's arguments. -
Moved benchmark branch to a separate repository as its own package: https://github.com/saezlab/decoupleRBench
-
New methods added:
- Fast Gene Set Enrichment Analysis (
fgsea
). AUCell
.- Univariate Decision Tree (
udt
). - Multivariate Decision Tree (
mdt
). - Multivariate Linear Model (
mlm
).
- Fast Gene Set Enrichment Analysis (
-
New
decoupleR
manuscript repository: https://github.com/saezlab/decoupleR_manuscript -
New
consensus
score based onRobustRankAggreg::aggregateRanks()
added when runningdecouple
with multiple methods. -
New statistic
corr_wmean
insidewmean
. -
Methods based on permutations or statistical tests now return also a p-value for the obtained score (
fgsea
,mlm
,ora
,ulm
,viper
,wmean
andwsum
). -
New error added when network edges are duplicated.
-
New error added when the input matrix contains NAs or Infs.
All new features allow for tidy selection. Making it easier to evaluate different types of data for the same method. For instance, you can specify the columns to use as strings, integer position, symbol or expression.
-
New
decouple()
integrates the various member functions of thedecoupleR statistics
for centralized evaluation. -
New family
decoupleR statists
for shared documentation is made up of:- New
run_gsva()
incorporate a convinient wrapper for GSVA::gsva(). - New
run_mean()
calculates both the unnormalized regulatory activity and the normalized (i.e. z-score) one based on an empirical distribution. - New
run_ora()
fisher exact test to calculate the regulatory activity. - New
run_pscira()
uses a logic equivalent torun_mean()
with the difference that it does not accept a column of likelihood. - New
run_scira()
calculates the regulatory activity through the coefficient$\beta_1$ of an adjusted linear model. - New
run_viper()
incorporate a convinient wrapper for viper::viper().
- New
- New functions family
convert_to_ variants
that allows the conversion of data to a standard format.- New
convert_to_()
return the entry without modification. - New
convert_to_gsva()
return a list of regulons suitable for GSVA::gsva(). - New
convert_to_mean()
return a tibble with four columns:tf
,target
,mor
andlikelihood
. - New
convert_to_ora()
returns a named list of regulons; tf with associated targets. - New
convert_to_pscira()
returns a tibble with three columns:tf
,target
andmor
. - New
convert_to_scira()
returns a tibble with three columns:tf
,target
andmor
. - New
convert_to_viper()
return a list of regulons suitable for viper::viper()
- New