Open
Description
Hi and thank you for your amazing work! I have a question regarding a warning I get when running li.multi.df_to_lr
- namely a warning saying "Features in adata and dea_df are mismatched". The warning seems to stem from line 99-103 in liana/multi/df_to_lr:
# reduce dim of adata
intersect = np.intersect1d(adata.var_names, dea_df.index)
if intersect.shape[0]==adata.shape[1]:
_logg('Features in adata and dea_df are mismatched.', verbose=verbose, level='warn')
adata = adata[:, intersect]
I'm wondering about the meaning of this - if the intersection is full then the features are aligned? Is it that if the intersection is full - we don't actually reduce the dimension of adata?
Thank you again!