Submitted by Anonymous on Thu, 01/14/2010 - 13:58.
Hi,
I would like to change the size of my axis in order to make all my data fit in the graphic, I am using the function plot() for drawing an species acccumulation curve. Thanks in advance.
I have carried out several mantel tests on some genetic data in 'R' and would like to plot the results in the form of a histogam of the distribution - and preferably one that shows the critical 'r' value.
The tail end of my procedure is shown below - I just need help to dig out an instruction to follow on from this result.
Hi, I would like to change
Hi,
I would like to change the size of my axis in order to make all my data fit in the graphic, I am using the function plot() for drawing an species acccumulation curve. Thanks in advance.
G.R.
Use
Use xlim=c(lower,upper).
E.g., if you want your xaxis to go from zero to 100:
yourplot <- plot(x=x,y=y,xlim=c(0,100))
displaying mantel r results graphically
I have carried out several mantel tests on some genetic data in 'R' and would like to plot the results in the form of a histogam of the distribution - and preferably one that shows the critical 'r' value.
The tail end of my procedure is shown below - I just need help to dig out an instruction to follow on from this result.
6 4.000000 4.582576 4.123106 4.000000 4.472136 0.000000 2.236068
7 4.358899 5.099020 4.690416 4.358899 4.582576 2.236068 0.000000
> mantel.rtest(sample.dists, cat.dists, nrepet = 9999)
Monte-Carlo test
Observation: 0.4431225
Call: mantel.rtest(m1 = sample.dists, m2 = cat.dists, nrepet = 9999)
Based on 9999 replicates
Simulated p-value: 1e-04