I am working on the "randomForest" R package to change sampling method for feature subset selection at the nodes of trees in the forest. Currently random forest uses simple random sampling to do that. I tried to look at the R code by using the commands
library(randomForest)
getAnywhere(randomForest.default)
but could not find the relevant code chunk where "mtry" features are selected. How can I do this change in the source code?