Usage
sample.locations(otu1, otu2=NULL, meta, factor = NULL, zoom = 5, source = "google", labels = c("ITS1", "ITS2"), lat.col = "Latitude", long.col = "Longitude", file = NULL, ext = NULL, height = 10, width = 12)
Arguments
otu1
the OTU table to be used.
otu2
the (optional) second OTU table to be used.
meta
the metadata table to be used.
factor
(optional) a named character vector of length one specifying a
column from the metadata table to be used to colour the points.
zoom
a positive integer in the range 3-21 (if source="google"
)
or 3-18 (if source == "osm"
) specifying the zoom for the
map (low number means zoomed out).
source
the source to be used for the map; either "google
" or
"osm
".
labels
a character vector giving one label per OTU.
lat.col
the name of the column in meta
containing the latitude
information.
long.col
the name of the column in meta
containing the longitude
information.
file
the file path where the image should be created
(see ?RAM.plotting).
ext
the file type to be used; one of "pdf"
, "png"
,
"tiff"
, "bmp"
, "jpg"
, or "svg"
.
height
the height of the image to be created (in inches).
width
the width of the image to be created (in inches).