Closed jmitchell81 closed 3 years ago
As a follow-up, I do not encounter the 'mc.cores' error if I pass a number.cluster argument. However, I am now receiving an error saying:
Error in if (is.numeric(v) && any(v < 0)) { :
missing value where TRUE/FALSE needed
In addition: Warning message:
did not converge in 10 iterations
This is likely a problem with my inputs to the function and not a Windows-specific problem as my colleague tried to run the same code and data on their Mac and receiving the same error. Do you have any ideas about which part of the input is faulty based on this error message? Please let me know if you need more claification about this problem. I will update this thread as I try other approaches.
I was able to get results and a plot by including the origin.marker argument for this function. I used CCR7 as I am focusing on T cells in a dataset of PBMCs.
set.seed(12345)
result = infer_tree_structure(pca = pat4@reductions$umap@cell.embeddings,
expression = mat_normlog,
cellanno = cell_type_anno,
xlab='UMAP 1',
ylab = 'UMAP 2',
number.cluster = 17,
origin.marker = 'CCR7')
plotmclust(result, cell_point_size = 0.5,
x.lab = 'UMAP 1',
y.lab = 'UMAP 2')
Hello,
I'm working on using Lamian on Windows 10, and I have been able to run through the tutorials in your vignette without issue. I am now trying to use the infer_tree_structure() on my own data with the first two principal components, the scaled normalized-log expression matrix, and a dataframe with columns for each cell_id, the samples, and the annotated cell types. Upon trying to run infer_tree_structure(), I receive this error:
In the vignette, I also encountered this error with the lamian.test() function, but was able to rectify it by adding the argument
infer_tree_structure() will not allow me to use this ncores argument. Are there any other changes I can make on my local windows system to avoid this error? I am also trying to use Lamian on a Linux-based computing cluster to see if this is just a Windows incompatibility problem, but I'm having trouble installing the Cairo package that ComplexHeatmap and Lamian are dependent upon. Thank you for your help!