This file contains statistics and figures from the paper, “Molecular, Cellular, and Developmental Organization of the Mouse Vomeronasal organ at Single Cell Resolution” by Max Hills Jr., Limei Ma, Ai Fang, Thelma Chiremba, Seth Malloy, Allison Scott, Anoja Perera, and C. Ron Yu.

The paper can be found here:

Molecular, Cellular, and Developmental Organization of the Mouse Vomeronasal organ at Single Cell Resolution



Receptor distributions with pseudogenes included

V1R

V2R

Olfr

Rank by average count distributions for V1R, V2R, and VSN-OR, pseudogenes included

V1R

V2R

Olfr

LS0tCnRpdGxlOiAiVk5PIEF0bGFzIEZpZ3VyZSBTOCIKYXV0aG9yOiAiTWF4IEhpbGxzIgpkYXRlOiAiYHIgZm9ybWF0KFN5cy50aW1lKCksICclZCAlQiwgJVknKWAiCm91dHB1dDoKICBodG1sX25vdGVib29rOgogICAgY3NzOiBzdHlsZS5jc3MKLS0tCgpgYGB7ciwgcmVzdWx0cz0nYXNpcyd9CgpjYXQoIjxidXR0b24gb25jbGljaz0naGlzdG9yeS5iYWNrKCknIHN0eWxlPSdmb250LXNpemU6IDIwcHg7IGJhY2tncm91bmQtY29sb3I6IGJsYWNrOyBjb2xvcjogd2hpdGU7IHBhZGRpbmc6IDEwcHggMjBweDsgYm9yZGVyOiAzcHggc29saWQgeWVsbG93OyBib3JkZXItcmFkaXVzOiA1cHg7Jz5DbGljayBIZXJlIHRvIFJldHVybiB0byBQcmV2aW91cyBQYWdlPC9idXR0b24+IikKCmBgYAoKKioqICAKCmBgYHtyLCBlbmdpbmU9J2NzcycsIGVjaG8gPSBGQUxTRX0KCmJvZHkgewogIGZvbnQtc2l6ZTogMThweDsKfQoubmF2LXBpbGxzID4gbGkgPiBhIHsKICBjb2xvcjogYmxhY2s7IC8qIFNldCBpbmFjdGl2ZSB0YWIgdGV4dCBjb2xvciB0byBibGFjayAqLwogIGJvcmRlcjogMnB4IHNvbGlkIGJsYWNrOyAvKiBBZGQgYmxhY2sgYm9yZGVyIHRvIGluYWN0aXZlIHRhYnMgKi8KICBib3JkZXItc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ICsgMCwgYWVzKGxhYmVsID0gcGFzdGUoYWZ0ZXJfc3RhdChlcS5sYWJlbCksCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFmdGVyX3N0YXQocnIubGFiZWwpLCAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc2VwID0gIipcIiwgXCIqIikpLHNpemU9NyxsYWJlbC55PTAuODUsbGFiZWwueD0wLjUpCgpmaWc0X2EucGFydF8yCgpgYGAKCiMjIyBWMlIgIAoKYGBge3J9CgojIENyZWF0ZSBhIGNvbG9yIHZlY3RvciB0byBkaXN0aW5ndWlzaCBnZW5lcyBmcm9tIHBzZXVkb2dlbmVzLgp2MnIuZGlzdC5wbG90IDwtIHYyci5tZXRhZGF0YSAlPiUgbXV0YXRlKGNvbG9yID0gaWZlbHNlKHN0cl9kZXRlY3QodjJyLm1ldGFkYXRhJGdlbmUsICItcHMiKSwgImdyYXkiLCAicHVycGxlIikpCgpmaWc0X2IucGFydF8yIDwtIGdncGxvdCh2MnIuZGlzdC5wbG90LCBhZXMoeD1uQ2VsbHMseT1Ub3RhbF9Db3VudHMsbGFiZWw9Z2VuZSkpICsKICBnZW9tX3BvaW50KHNoYXBlPTIxLHNpemU9NCxmaWxsPXYyci5kaXN0LnBsb3QkY29sb3IsY29sb3I9InB1cnBsZSIpICsgdGhlbWVfY2xhc3NpYygpICsgc2NhbGVfY29sb3JfaWRlbnRpdHkoKSArCiAgZ2VvbV90ZXh0X3JlcGVsKGRhdGE9djJyLmRpc3QucGxvdFt2MnIuZGlzdC5wbG90JG5DZWxscz42MDAwfHYyci5kaXN0LnBsb3QkVG90YWxfQ291bnRzPjMwMDAwLCBdLAogICAgICAgICAgICAgICAgICBudWRnZV94PS01MCxudWRnZV95PTUwLHBvaW50LnBhZGRpbmc9MCxzaXplPTcsbWluLnNlZ21lbnQubGVuZ3RoPTAuMjUpICsKICB0aGVtZShheGlz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