I did not try, sorry I am new to this analysis I just made a matrix according to the CNV segments as shown below, but its big(1700 rows, 9000 columns), I would be grateful if I can receive hints for Plotting PCA?

> Sample chr1:100-3000 chr5:852-8688 chr2:14407-15495 chr17:60125-70210

> AFA 1 2 2 2
> AFA 2 0 2 3
> AFA 1 4 2 0
> AFA 2 2 4 2
> AFB 1 2 2 2
> AFB 1 2 2 2
> AFB 2 2 2 2
> AFC 2 2 2 3
> AFC 2 2 2 2



Source link