Comments (7)
Using very very secure dishes, I still get this error. This is now for line 1556. The error message is:
Error: unexpected symbol in:
" (print(ggplot(relativeDistClass[[i]], aes(x = variable, y = value, color = sign))
foreach"
from evolutionary-rates-analysis-pipeline.
Also, I get a Polychaeta plot, but do not seem to be able to scroll to the Clitellata plot.
from evolutionary-rates-analysis-pipeline.
Hi Sally,
I didnt seem to get this error when running Annelida (after updating) or currently after my first couple of runthroughs of Mollusca (hope to send results tomorrow).
I found this post on stackoverflow which may be useful:
http://stackoverflow.com/questions/25889234/error-unexpected-symbol-input-string-constant-numeric-constant-special-in-my-co
In summary, apparently you can highlight code and hold ctrl+shift+a to reformat it when you are getting the "unexpected symbol" error. Next time you run the script (whichever phyla), try running the plot command like this instead to see if that changes anything for you:
foreach(i = 1:length(relativeDistClass)) %do%
(print(
ggplot(relativeDistClass[[i]], aes(
x = variable, y = value, color = sign
))
+ geom_point(stat = "identity", size = 2.5)
+ theme(
text = element_text(size = 13),
axis.text.x = element_text(
face = "bold",
angle = 90,
vjust = 1
)
)
+ ggtitle(
paste0(
classTitle[i],
"\n",
pValBinomialTitle[i],
"\n",
pvalWilcoxonTitle[i]
)
)
+ labs(x = "Pairing Number", y = "Signed Relative OutGroup Distance", color = "sign")
))
If the command does work for you, then I can modify the script with the reformatted command.
Another thing to do would be to start a fresh RStudio session as well before doing another script runthrough to see if that helps also.
If that all fails, try resetting the RStudio desktop state. According to that stackoverflow post a corrupted desktop state can sometimes cause this error. Instructions on how to do this can be found here: (they give instructions for Mac as well)
https://support.rstudio.com/hc/en-us/articles/200534577-Resetting-RStudio-s-State
Best Regards,
Matt
from evolutionary-rates-analysis-pipeline.
Ok so github doesnt seem to be formatting that command correctly. I think im going to change it in the script directly then.
Best Regards,
Matt
from evolutionary-rates-analysis-pipeline.
Thanks very much Matt. I am going to leave these plotting issues aside for now, in favour of staying focused on the main analysis decisions. I hope to return to this in a couple of days.
from evolutionary-rates-analysis-pipeline.
One thing I should mention about the plot is if you cant get it to work offline, I have confirmed that it works with the online RStudio on the cloud so we should still be able to get any plot figures we might want to include in the publication.
from evolutionary-rates-analysis-pipeline.
This issue was moved to jmay29/lat-project#8
from evolutionary-rates-analysis-pipeline.
Related Issues (20)
- Using Cloud Computing with RStudio HOT 88
- Discussion - Running Cnidaria HOT 6
- Decision needed: selecting the final trimming length HOT 2
- Question about filtering by sequence length HOT 17
- Sally's next tasks HOT 22
- New Mollusca Results HOT 14
- Alignment of mite group Mesostigmata HOT 25
- R Style Guide HOT 16
- Model test HOT 4
- Update to Pipeline and New Branch HOT 3
- Median latitude HOT 10
- Jacqueline got an error line 569 of Annelida branch HOT 10
- Error on line 1572 of Annelida branch HOT 5
- Very minor edits! HOT 5
- Identify weird sequences HOT 9
- Ideas to consider for V2 HOT 16
- New Results Thread HOT 73
- Sister vs. Phylo pipeline comparison HOT 3
- Map Figures HOT 20
- Matt - task list HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from evolutionary-rates-analysis-pipeline.