Example: Assume that two numeric protein annotations are in two different annotation files e.g. codon adaptation index from source A and protein abundance from source B. You can easily test the correlation of both variables although they are from different files/sources.
Note: Corresponding protein annotations are assigned by equal protein identifiers. If the identifiers are different perform a mapping first.