Description Usage Arguments Author(s) See Also Examples
View source: R/heatmap.samples.R
Visualize the output of estimate.shiftvec
if the data
has only two isotope measurements.
1 | heatmap.samples(samples)
|
samples |
A list of samples of discrimination factors produced by
|
Robert Robere
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## get the input from a file, where the predator measurements are simple
## raw isotopic measurements, and prey measurements are in mean/sd form
## Heatmap.samples assumes only two isotopes are measured!
## Not run: input <- build.isotopeframe("predator measurements.dat",
"prey measurements.dat")
## End(Not run)
## now get 2000 samples of discrimination factors
## Not run: out <- estimate.shiftvec(input$pred.frame, input$prey.frame,
num.samples=2000, pred.distinput=FALSE, prey.distinput=TRUE)
## End(Not run)
## now visualize
## Not run: heatmap.samples(out)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.