First, fire up R, then install the sos package (don't omit the quotes):
install.packages("sos")
It'll ask you to choose a mirror. Choose the closest one. After it installs, load the package (omit the quotes this time):
library(sos)
This loaded all the functions that come with the sos package, including a particularly useful one called findFn. It scans the "function" entries in Jonathan Baron's "R site search" database. Give it a try, using "epistasis" with the quotes as the keyword.
findFn("epistasis")
This should open up a web browser that displays relevant functions, the package you need to download (using the above procedure) to use the function, and a link to the help page for that function.
You can also use ??? as an alias for findFn. Try it like this (use the quotes):
???"genome wide"
Once you have the sos package installed, type vignette("sos") for more information on how to use various functions in this package.
If you still can't find what you're looking for, check out my previous post on finding help on R, and if all else fails, don't forget about Theresa Scott's free weekly R clinic / Q&A sessions.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.