Question regarding sample size in SNPRelate Package in R
0
0
Entering edit mode
9.0 years ago
ayang • 0

Hello,

I am trying to construct a phylogenetic tree using SNP data from a group of 9 samples. I am trying to do this using SNPRelate, but after doing the following steps below, I am encountering what seems like a simple issue that I can not seem to figure out.

The steps I conducted to get the phylogenetic tree:

  1. snpgdsDiss
  2. snpgdsHCluster
  3. snpgdsCutTree
  4. snpgdsDrawTree

The issue I am encountering:

I have a phylogenetic tree for samples 1, 2, 3, 4, 5, 6, 7, 8, and 9 and should be able to differentiate the group based on the plot character's color. However, no matter what I do, I can't seem to use more than 8 colors. So I am having trouble differentiating the location between sample 2 and sample 5; both their plot character's color is black. Whereas, I am able to differentiate the location between the other samples, because they are red, green, dark blue, light blue, pink, yellow, and grey.

Has anyone encounter this problem when using snpgdsDrawTree function?

Thanks!

snprelate snptree SNP snpgdsDrawTree • 1.8k views
ADD COMMENT

Login before adding your answer.

Traffic: 2980 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6