I am trying to plot a scatterplot comparison between 2 variables x and y in my dataframe PDvsPEAKS
. Code given below.
Abundance_NQ01_positive-IB-DNQ_0.1M_PDvsPeaks <- ggplot(PDvsPeaks, aes(x = Abundance_NQ01_positive-IB-DNQ_PD, y = Abundance_NQ01_positive-IB-DNQ_PEAKS, name = Accession)) +
geom_abline(slope = 1, intercept = 0, color = "red") +
geom_point() +
labs(x = "Abundance of NQ01+ IB-DNQ 0.1M by PEAKS",
y = "Abundance of NQ01+ IB-DNQ 0.1M by PD",
title = "Comparison of Abundance of NQ01+ IB-DNQ 0.1M between PEAKS and PD")
But it is returning the following error (object not found) even when I can see the column names in my dataframe.
Error in Abundance_NQ01_positive - IB - DNQ_0.1M_PDvsPeaks <- ggplot(PDvsPeaks, :
object 'Abundance_NQ01_positive' not found
In addition: Warning messages:
1: In read.dcf(file.path(p, "DESCRIPTION"), c("Package", "Version")) :
cannot open compressed file 'C:/Users/Gita/Documents/R/win-library/3.6/BiocGenerics/DESCRIPTION',
probable reason 'No such file or directory'
2: In read.dcf(file.path(p, "DESCRIPTION"), c("Package", "Version")) :
cannot open compressed file 'C:/Users/Gita/Documents/R/win-library/3.6/IRanges/DESCRIPTION', `probable reason 'No such file or directory'
3: In read.dcf(file.path(p, "DESCRIPTION"), c("Package", "Version")) :
cannot open compressed file 'C:/Users/Gita/Documents/R/win-library/3.6/S4Vectors/DESCRIPTION', `probable reason 'No such file or directory'
4: In find.package(if (is.null(package)) loadedNamespaces() else package, :
there is no package called ‘BiocGenerics’
5: In find.package(if (is.null(package)) loadedNamespaces() else package, :
there is no package called ‘IRanges’
6: In find.package(if (is.null(package)) loadedNamespaces() else package, :
there is no package called ‘S4Vectors’