Pairs of positions¶
You have a value for pairs of positions: linkage between variants from PLINK, contacts between the bins of a Hi-C map, or scores between sites.
Each pair of variants is a cell under the point half way between them, as deep as they are far apart, and coloured by its r² from 0 to 1. Variants inherited together are the dark triangles.
Your file¶
- Linkage: PLINK's
--r2writes a.ldtable, read as it is.--ld-window-r2 0keeps the weak pairs as well, which a complete triangle needs. - Contacts or loops: BEDPE, as
cooler dump --joinwrites a contact map. A.coolis drawn with--pairs <(cooler dump --join -r REGION map.cool), and a.mcoolor a.hicnamed on its own is answered with the steps that write it so. - Anything else: a table headed
pos1,pos2and a value, its positions counted from 1.
Change it¶
| To | Write |
|---|---|
| Arcs between a few pairs far apart | nothing: a few pairs are drawn as arcs by themselves, and --style arcs or --style triangle chooses |
| Only the strong pairs | --threshold 0.5 |
| Contacts, which fall by orders of magnitude | --log |
| Scores between the calls, over the calls | rpoB genes.gff3 calls.vcf.gz --pairs epistasis.tsv |
The example files: linkage.ld and
epistasis.tsv. Every option: karyon help pairs, or
the command line reference.