Closed jperales closed 4 years ago
Dear Javier,
Thanks for the comment. You're right, we didn't update the TF regulons object with the correct format. This has been now fixed and an example code added. You can pull the object again.
Kind regards,
Luz
Hi,
The current version of the Consensus TF regulons data (
CTFRs_v122016.rdata
) is not compatible with the package of functions fromlib_enrichment_scores.r
.CTFRs_v122016.rdata
is a list of two elements:geneset$NAME
is a vector andgeneset$GENES
is a list of vectors.First step during
SLEA()
isSLEA.clean_genesets()
. This function expects to manage a list whose vectors contain gene names as names of each element of the vector (i.e. gene names fromnames(geneset$GENES[[TF]]))
). However,lapply(geneset$GENES,names)
leads to NULLs because the different vectors are unnamed. Because of that, no regulons are kept for the analysis.If we named them,
SLEA.clean_genesets()
works well. Then, some of the methods finish properly. For instance, for GSVA:However VIPER does not work yet, it seems that it expects
geneset$GENES
was a list of numeric vectors with the gene names as names of the vector:Hope that it helps! Thank you very much for your attention :)
All the best, Javier