saeyslab / nichenetr

NicheNet: predict active ligand-target links between interacting cells
452 stars 113 forks source link

generate_prioritization_tables() generates an empty result. #238

Closed yoshiakiabe1018 closed 8 months ago

yoshiakiabe1018 commented 8 months ago

Hi Thank you very much for your great contributions.

I tried to run "Perform NicheNet analysis with prioritization (https://github.com/saeyslab/nichenetr/blob/master/vignettes/seurat_steps_prioritization.md)" codes initially using the provided mouse data for this vignette and this worked well.

However, when using my original human scRNA-seq data, the generate_prioritization_tables() step created only an empty result as follows, although all steps before this step had likely been done successfully.

prior_table <- generate_prioritization_tables(processed_expr_table,

  • processed_DE_table,
  • ligand_activities,
  • processed_condition_markers,
  • prioritizing_weights = prioritizing_weights) Joining with by = join_by(sender, receiver, ligand, receptor) Joining with by = join_by(sender, ligand, lfc_ligand, p_val_ligand) Joining with by = join_by(ligand) Joining with by = join_by(receiver, receptor, lfc_receptor, p_val_receptor) Joining with by = join_by(sender, ligand, avg_ligand) Joining with by = join_by(receiver, receptor, avg_receptor) Joining with by = join_by(ligand) Joining with by = join_by(receptor) prior_table

    A tibble: 0 × 51

    ℹ 51 variables: sender , receiver , ligand , receptor , lfc_ligand , lfc_receptor ,

    ligand_receptor_lfc_avg , p_val_ligand , p_adj_ligand , p_val_receptor , p_adj_receptor ,

    pct_expressed_sender , pct_expressed_receiver , avg_ligand , avg_receptor , ligand_receptor_prod ,

    lfc_pval_ligand , p_val_ligand_adapted , scaled_lfc_ligand , scaled_p_val_ligand ,

    scaled_lfc_pval_ligand , scaled_p_val_ligand_adapted , activity , rank , activity_zscore ,

    scaled_activity , lfc_pval_receptor , p_val_receptor_adapted , scaled_lfc_receptor ,

    scaled_p_val_receptor , scaled_lfc_pval_receptor , scaled_p_val_receptor_adapted , …

Do you have any idea regarding the cause and solution of this trouble? Happy if you kindly help me. Thank you very much in advance.

yoshiakiabe1018 commented 8 months ago

Close as this issue solved.