Hi @ebakhsol. geom_jitter have no outlier argument. If you really want to remove data point, filter the data by filter(age16_RV_SNP_Rawdata, IFN_beta_RV1B < 20) before plotting.
This is a good solution for this specific simple case but in general you may want to identify the outliers using a known method, you could define your own outlier function and filter the data with something like this.
This (and any other) community is not intended for doing your work for you. We can guide you to the solution, but you'll have to put some efforts. After all, the problem is actually yours.
This particular message is very much self-descriptive. You already know that there are some missing values, and it specifically says that you're having problems because na.rm is set as FALSE. Have you tried changing it to TRUE?
Both the functions (quantile and IQR) that Andres used have an argument na.rm, which is set as FALSE by default. Try to change it and see what happens. In case you're unfamiliar to these functions, read the documentation.
If that does not solve your problem, please provide a REPRoducible EXample of your problem.
So, R says you that you can't give more than one argument to return, and it says so because you supplied na.rm=TRUE to the return, instead of the desired functions quantile and IQR.
Please go through the documentation of these functions. You're supposed to call like quantile(x = variable_of_interest, probs = probabilities_of_interest, na.rm = TRUE), and IQR(x = variable_of_interest, na.rm = TRUE) for each call.
An alternative will be to remove all the missing values a priori to avoid several na.rm's.