You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MPCs <- DIALOGUE.run(rA = cell.type.object, # list of cell.type objects
main = "Merfish_coronal",
k = 20, # number of MCPs to identify
results.dir = resultsDir,
conf = c("cellQ"), # any potential confounders DIALOGUE needs to account for; default is "cellQ"
pheno = NULL, # if there is a specific phenotype of interest, specify it here, and DIALOGUE will test its association with the resulting MCPs
spatial.flag = TRUE)
However, when running DIALOGUE.run, I receive the following error:
Error in DIALOGUE1(rA = rA, k = k, main = main, results.dir = results.dir, :
Cannot run DIALOGUE with less than 5 samples.
My dataset has approximately 1200 FOVs, so I am a little unclear why this is. Looking through the code, my guess is that FOVs that contain multiple cell types are considered. Does an FOV need to contain all cell types to be considered, or is there some threshold that I can control myself?
When I run the code in piecemeal myself, I end up with 80 FOVs, which is a little odd given that there are none when I run the code in full, but nonetheless if I had a way to control for the number of cell types in a "sample" that might help. I could also increase the size of the FOVs such that might contain more cell types, but given how cell types are organized in tissues, I still doubt that an FOV would contain all cell types unless if it contained the entire tissue.
Thanks,
Brendan
The text was updated successfully, but these errors were encountered:
Hello and thanks again for your help.
I have successfully made a list of
cell.type
objects that I am passing toDIALOGUE.run
, and I am using the FOV as thesample
argument to compute MCPs.However, when running
DIALOGUE.run
, I receive the following error:My dataset has approximately 1200 FOVs, so I am a little unclear why this is. Looking through the code, my guess is that FOVs that contain multiple cell types are considered. Does an FOV need to contain all cell types to be considered, or is there some threshold that I can control myself?
When I run the code in piecemeal myself, I end up with 80 FOVs, which is a little odd given that there are none when I run the code in full, but nonetheless if I had a way to control for the number of cell types in a "sample" that might help. I could also increase the size of the FOVs such that might contain more cell types, but given how cell types are organized in tissues, I still doubt that an FOV would contain all cell types unless if it contained the entire tissue.
Thanks,
Brendan
The text was updated successfully, but these errors were encountered: