CNVKIT_HEATMAP(1)

πŸ“¦
version 0.9.13 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ CNVKIT_HEATMAP ✨

okay bestie, welcome to the cnvkit_heatmap page πŸ’– (that's the manual page name, it lives in section 1 of the manual, iykyk). This is the glow-up guide to plotting copy number for a whole squad of samples as one gorgeous heatmap 🌈


🌸 NAME 🌸

cnvkit_heatmap β€” Plot copy number for multiple samples as a heatmap. no cap, that's literally the whole job πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

Here's the vibe check β€” the usage looks like this:

cnvkit.py heatmap [-h] [-c CHROMOSOME] [-y]
       [-x {m,y,male,Male,f,x,female,Female}]
              [--no-shift-xy] [-o FILENAME] [-b] [-d] [-v] [--delimit-samples]
              [-t TITLE] filenames [filenames ...]

πŸ’… positional arguments:

  • filenames β€” the sample coverages you're feeding in, either as raw probes (.cnr) or segments (.cns). give me the data bestie 🫢

πŸ‘‘ options:

  • -h, --help β€” show this help message and exit. the classic. the icon. press it when you're lost πŸ’€
  • -c CHROMOSOME, --chromosome CHROMOSOME β€” pick a chromosome (like 'chr1') or a chromosomal range (like 'chr1:2333000-2444000') to display. If you hand over a range, all the targeted genes inside that range get shown β€” unless --gene/-g was already given. so like, don't double-dip πŸ’–
  • -y, --male-reference, --haploid-x-reference β€” assume the inputs were normalized to a male reference. Which means: female samples will have +1 log-CNR of chrX; otherwise male samples would have -1 chrX. it's giving "know your normalization" 🧚
  • -x {m,y,male,Male,f,x,female,Female}, --sample-sex {m,y,male,Male,f,x,female,Female}, -g {m,y,male,Male,f,x,female,Female}, --gender {m,y,male,Male,f,x,female,Female} β€” specify the chromosomal sex of all the given samples as male or female. Default: guess each sample from coverage of X and Y chromosomes ✨ (the default is lowkey doing detective work for you)
  • --no-shift-xy β€” don't adjust the X and Y chromosomes according to sample sex. hands off πŸ”₯
  • -o FILENAME, --output FILENAME β€” Output PDF file name. name your baby πŸ’–

🎨 Plot aesthetics:

  • -b, --by-bin β€” plot data x-coordinates by bin indices instead of genomic coordinates. Every bin gets shown with equal width, no blank regions show up at all, and the x-axis values indicate bin number (within chromosome) instead of genomic position. equal widths only, we love a fair fight πŸ‘‘
  • -d, --desaturate β€” tweak color saturation to focus on the significant changes. muted palette, loud findings 🌸
  • -v, --vertical β€” plot the heatmap with samples as the X-axis (instead of the Y-axis). rotate the whole situation, main character energy πŸ”„
  • --delimit-samples β€” add an horizontal delimitation line between each sample. boundaries, bestie πŸŽ€
  • -t TITLE, --title TITLE β€” Plot title. Default: Range if provided, otherwise none. so if you gave a range, you get a title for free ✨

no cap: every flag above is doing real work, so read the one you're about to type before you type it. especially the sex/reference ones β€” they change what your X and Y even mean πŸ’€

that's the whole page, babe β€” go make something pretty and correct πŸ¦‹πŸ’–

signing off: this was cnvkit.py heatmap version 0.9.10, dated July 2023, and yes that's the version that was serving looks when this manpage was written πŸ‘‘βœ¨

πŸ“¦ where this page comes from