powered by
Create a point map with ploty engine using Spectra rows
Spectra
spc.plot.map.plotly(sp, hover_field = "row", color = "#FF0000", opacity = 1)# S4 method for Spectra spc.plot.map.plotly(sp, hover_field = "row", color = "#FF0000", opacity = 1)
# S4 method for Spectra spc.plot.map.plotly(sp, hover_field = "row", color = "#FF0000", opacity = 1)
A Spectra object
A character, column names of sp object to be used in hover box
Determine color of points
The opacity transparency of the glyph between 0 (transparent) and 1 (opaque)
# NOT RUN { sp <- spc.example_spectra() spc.plot.map.plotly(sp) # }
Run the code above in your browser using DataLab