Open sevs617 opened 2 years ago
sorry about not following up on this. i'll give you full credit if you turned it in late. if the data are in a dataframe (not just raw vectors) then you can plot things like this. has to be in a dataframe though
ggscatter(y = "pI", #
x = "MW.da", #
data = habk.df2,
label = "aa.1",
add = "reg.line",
conf.int = TRUE,
ellipse = TRUE,
cor.coef = TRUE,
xlab = "Molecular mass (Daltons)", #
ylab = "pI (pH at Isoelectric point)", #
title = "Prediction of pI from MW")
https://github.com/brouwern/compbio2021/blob/452ec6c52b1dac6e6d68abdf659455fc76c8a23c/portfolio_predicting_amino_acid_characteristics-STUDENT.Rmd#L97