Skip to content

Dimension issue while running "run_cytotalk" #8

Description

@mkyriak

Hello! I am trying to am trying to run CytoTalk to find out cell-cell interactions in my data that I obtained using cellphonedb.
Hence, I have two matrices: one with the counts (format_counts.txt) and another with the metadata (forma_meta.txt) that maps the cell types to columns.
The count matrix contains 5790 cells (columns) and 10570 genes (rows), along with the corresponding 5790 cells in the metadata file.

I am loading the data as follows and when I am trying to run run_cytotalk I get this error:

fpath_mat <- "format_counts.txt" fpath_meta <- "format_meta.txt" lst_scrna <- CytoTalk::read_matrix_with_meta(fpath_mat, fpath_meta) table(lst_scrna$cell_types) type_a <- "Inh_1" type_b <- "Inh_1" results <- CytoTalk::run_cytotalk(lst_scrna, type_a, type_b) <img width="593" alt="CytoTalk_Error" src="https://user-images.githubusercontent.com/25987242/160450033-5f7d760f-b916-4923-b8a7-d1b9c2445502.png">
Could you please help me figure out what is going on?
CytoTalk_Error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions