You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dear professor,
I am new to RERconverge and currently running analyses to estimate the relative evolutionary rate (RER) for each gene on every branch of the tree. I have encountered a few questions during my analysis and would greatly appreciate your insights.
(1) Understanding Positive and Negative Values in RER Output:
The final RER output for each gene contains many NAs, which I have excluded. However, the remaining values include both positive and negative numbers. How should I interpret these? Are the positive and negative values meaningful, or could they be considered as artifacts? I was thinking that perhaps the magnitude of the values (regardless of sign) indicates the rate, with larger values suggesting faster relative evolutionary rates. Could you confirm if this is correct?
(2) Warning Message During RER Calculation:
When I running the command BathyergidaeRER = getAllResiduals(toyTrees, useSpecies = useSpecies,transform = "sqrt", weighted = T, scale = T),the stdout includes this warning:
cutoff is set to 2e-08
i= 1 Naming rows and columns of RER matrix
Warning message:
In regularize.values(x, y, ties, missing(ties), na.rm = na.rm) : collapsing to unique 'x' values
According to the FullWorkThrough readme, this means that branches shorter than the cutoff will be excluded from the analysis. However, the final RER output includes all genes, including those from branches that should have been excluded. Could you help me understand why this might be happening?
(3) Master Tree and CDS Alignments:
When I run the following command to estimate branch lengths for all genes: estimatePhangornTreeAll(alndir=alignmentfn, treefile=mastertreefn, output.file=outputfn), I use a tree without branch lengths as the master tree: (Cgu,(((Tsw,Pty),Hcr),(Hgl,((Gca,Bsu),(Cho,(Fme,(Fda,(Fdm,(Fan,Fmi)))))))));. Also, I used alignments for coding sequences (CDS) rather than amino acid sequences.
Could you advise on whether this is an appropriate approach?
Dear professor,
I am new to RERconverge and currently running analyses to estimate the relative evolutionary rate (RER) for each gene on every branch of the tree. I have encountered a few questions during my analysis and would greatly appreciate your insights.
(1) Understanding Positive and Negative Values in RER Output:
The final RER output for each gene contains many NAs, which I have excluded. However, the remaining values include both positive and negative numbers. How should I interpret these? Are the positive and negative values meaningful, or could they be considered as artifacts? I was thinking that perhaps the magnitude of the values (regardless of sign) indicates the rate, with larger values suggesting faster relative evolutionary rates. Could you confirm if this is correct?
(2) Warning Message During RER Calculation:
When I running the command
BathyergidaeRER = getAllResiduals(toyTrees, useSpecies = useSpecies,transform = "sqrt", weighted = T, scale = T)
,the stdout includes this warning:According to the FullWorkThrough readme, this means that branches shorter than the cutoff will be excluded from the analysis. However, the final RER output includes all genes, including those from branches that should have been excluded. Could you help me understand why this might be happening?
(3) Master Tree and CDS Alignments:
When I run the following command to estimate branch lengths for all genes:
estimatePhangornTreeAll(alndir=alignmentfn, treefile=mastertreefn, output.file=outputfn)
, I use a tree without branch lengths as the master tree:(Cgu,(((Tsw,Pty),Hcr),(Hgl,((Gca,Bsu),(Cho,(Fme,(Fda,(Fdm,(Fan,Fmi)))))))));
. Also, I used alignments for coding sequences (CDS) rather than amino acid sequences.Could you advise on whether this is an appropriate approach?
Below is the complete R code I have been using:
Thank you in advance for your help! I look forward to your feedback.
Best regards,
Na Wan
The text was updated successfully, but these errors were encountered: