On Nov 15, 2016, at 10:07 PM, 黎航 <lih...@webmail.hzau.edu.cn> wrote:
Dear Dr. Jiang
I'm doing some clonal evolution research with canopy with whole genome sequence.I'm facing one problem that if their are multiple overlap region in one chromosome, like
1 chr1:1-1000
2 chr1:500-1500
3 chr1:2000-3000
4 chr1:2500-3500
How could I provide the Matrix C
1 2 3 4
chr1 1 1 1 1
or
1 2 3 4
chr1 1 1 2 2
Best Regards
Thanks
Hang Li
Okay, you can refer to the bottom of our github page. Each column of C is a CNA event and thus in your case it is CNA1, CNA2, CNA3, CNA4; each row of C is a CNA region, for this you can have two different version shown below.
A simple version where you only focus on the overlapped regions:
|
CNA1 |
CNA2 |
CNA3 |
CNA4 |
Chr1: 500-1000 |
1 |
1 |
0 |
0 |
Ch1:2500-3000 |
0 |
0 |
1 |
1 |
Or more completely:
|
CNA1 |
CNA2 |
CNA3 |
CNA4 |
Chr1:1-499 |
1 |
0 |
0 |
0 |
Chr1: 500-1000 |
1 |
1 |
0 |
0 |
Chr1:1001-1500 |
0 |
1 |
0 |
0 |
Chr1:2000-2499 |
0 |
0 |
1 |
0 |
Ch1:2500-3000 |
0 |
0 |
1 |
1 |
Chr1:3001-3500 |
0 |
0 |
0 |
1 |
For the above two different input, your WM and Wm have correspondingly different dimensions. Make sure that the dimensionality checks before you proceed.
Cheers,
Yuchao
From:
黎航 [mailto:lih...@webmail.hzau.edu.cn]
Sent: Tuesday, November 15, 2016 10:46 PM
To: Jiang, Yuchao <yuc...@wharton.upenn.edu>
Subject: Re:Re: multiple overlap regions in canopy
Yes, I'm meaning that I had found 4 CNAs in chr1 . CNA1 overlap with CNA2, and CNA3 overlap with CNA4. how can I show that for metrix C in canopy.
Thanks
---------- Origin message ----------
>From:"Jiang, Yuchao" <yuc...@wharton.upenn.edu>
>To:"黎航" <lih...@webmail.hzau.edu.cn>
>Subject:Re: multiple overlap regions in canopy
>Date:2016-11-16 11:45:04
Hi Dr Li,
I am not sure what you mean by multiple overlap region. You mean multiple overlap CNA events? Is each line in the following a CNA event that you find?
While I need more clarification from you to answer your question, you can refer to the bottom of the following page, which I think addresses your question. Also please read through the other common questions as well ;-)
https://github.com/yuchaojiang/Canopy
Please let me know if you have any questions.
Best,
Yuchao
--
You received this message because you are subscribed to the Google Groups "canopy_phylogeny" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canopy_phylogeny+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/canopy_phylogeny/d80e1452-e215-4218-8256-cfc76e281b43%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "canopy_phylogeny" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canopy_phylogeny+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/canopy_phylogeny/df63b29b-e05d-401c-bb46-c10c688a6c08%40googlegroups.com.