Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in scaffold map #9

Open
Terskikh opened this issue Jul 31, 2019 · 1 comment
Open

error in scaffold map #9

Terskikh opened this issue Jul 31, 2019 · 1 comment

Comments

@Terskikh
Copy link

Dear Federico,

I have the problem with generating of scaffold map. To show you an error I have attached this part of code here below. I would like to ask you if you have ever experienced the same proble. I would like to quickly explain how I prepare files for analysis. I take results of flowsom clustering and write txt and Rds files (the same format of file which can be generated by grapolo). I don't have any problems to make unsupervised graph. However when I add landmarks files I can't finish the analysis. Those files were written as flowSet and exported from R.

Thank you in advance!

vite::run_scaffold_analysis(input.files, ref.file = "clustered_single_samples/allevents.fcs.clustered.txt", landmarks.data, col.names)
Processing clustered_single_samples/allevents.fcs.clustered.txt
Running with Edge weight: 7.000000
Hard removing some connections to landmarks using threshold: 1.000000
First iteration
Stopping tolerance: 0.001000

Total number of iterations: 2844
Second iteration with prevent overalp
Stopping tolerance: 0.001000

Total number of iterations: 3141
Adding inter-cluster connections with markers:
ICAM PD_L2 CD163 ..........

Weight factor:0.700000
First iteration
Stopping tolerance: 0.001000

Total number of iterations: 13410
Second iteration with prevent overalp
Stopping tolerance: 0.001000

Total number of iterations: 3294

### Error in V(g.temp)$highest_scoring_edge[i] <- max.edge :
replacement has length zero

@pfgherardini
Copy link
Contributor

You should write the landmarks data as FCS files and load them using the load_landmarks or load_landmarks_from_dir functions. If that's what you are doing already, then please share the dataset you have been working with (using Dropbox or similar) so that i can take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants