Closed Tripfantasy closed 11 months ago
Fixed this by running:
df_motifs = load_motifs(REGULONS_FNAME)
I suspect this is due to the transform.py module expecting a particular structure to the dataframe. Running this seemed to fix the structure to one compatible with df2regulons. Downstream this results in expected aucell matrix. Yay!
Hello, I have produced a regulons dataframe from the following code:
Which represents expected results from the tutorial. However, when I run df2regulons() prior to running aucell and observe the list that should (to my understanding) contain the regulon name, list of genes and their weights, and other data from the initial data frame; the gene names seem oddly incorrect.
Referring to #505 , the issue dealt with dtype conversion to string for several fields in the dataframe. This does not seem to be the case for this error, however:
They appear to be splitting the string of each gene by character. I believe this is causing my aucell matrix to contain only zeros, as its reading incorrect gene names. Is there a work around/solution to this? Thanks.