forked from huBioinfo/CytoTalk
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
i have 12 cell types i think this algorithm works with two cell types at a time
so for 12 cell types i have to run the 66 times
so please guide me in adding the loop while running
dir_in <- "C:/Users/prave/Desktop/praveen"
lst_scrna <- CytoTalk::read_matrix_folder(dir_in)
celltypes = []
results = {}
for (i in range(len(celltypes) - 1))
{
for (j in range(i+1, len(celltypes)))
{
type_a = celltypes[i]
type_b = celltypes[j]
result = CytoTalk::run_cytotalk(lst_scrna, type_a, type_b)
results[f"result{i}{j}"] = result
}
}
Metadata
Metadata
Assignees
Labels
No labels