#' create simple reeptor plot on X-Y plane
#'
#' @param data dataframe where first 2 columns are plotted X, Y, respectively
#'
#' @return ggplot object
#'
#' @import ggplot2
#'
#' @export mgsplot.RLINE_receptors
#########################################################################
mgsplot.RLINE_receptors <- function(data){
p <- ggplot(data,aes(data[,1],data[,2]))+
xlab(colnames(data)[1])+ylab(colnames(data)[2])+
geom_point()
return(p)
} #end function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.