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

Add option to read in generic ASCII files as a pairwise distance matrix #554

Open
alexdi0421 opened this issue Oct 3, 2017 · 1 comment

Comments

@alexdi0421
Copy link

This allows non-standard, user-defined distance metric in clustering analysis.

@drroe drroe reopened this Oct 3, 2017
@drroe
Copy link
Contributor

drroe commented Oct 2, 2021

This should be possible now as of #915 (may have also been possible before but I'm certain it works now). The ASCII file just needs to have a header with the format:

#F1   F2 <name> [nframes <#>]

Where F1 and F2 are the frame numbers, is the column with the distance, and the optional nframes <#> specifies the total number of frames (in case this is a "sieved" matrix, i.e. it is missing certain frames). This file can be read in with the readdata command and then given to the cluster command via the pairdist keyword.

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