{"comment":{"url":"https://api.github.com/repos/timflutre/qtl/comments/10274895","html_url":"https://github.com/timflutre/qtl/commit/4b4f4f3401b0a7274bf6e4b8ad30ce3d479b7b01#commitcomment-10274895","id":10274895,"user":{"login":"timflutre","id":607508,"avatar_url":"https://avatars.githubusercontent.com/u/607508?v=3","gravatar_id":"","url":"https://api.github.com/users/timflutre","html_url":"https://github.com/timflutre","followers_url":"https://api.github.com/users/timflutre/followers","following_url":"https://api.github.com/users/timflutre/following{/other_user}","gists_url":"https://api.github.com/users/timflutre/gists{/gist_id}","starred_url":"https://api.github.com/users/timflutre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timflutre/subscriptions","organizations_url":"https://api.github.com/users/timflutre/orgs","repos_url":"https://api.github.com/users/timflutre/repos","events_url":"https://api.github.com/users/timflutre/events{/privacy}","received_events_url":"https://api.github.com/users/timflutre/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"4b4f4f3401b0a7274bf6e4b8ad30ce3d479b7b01","created_at":"2015-03-18T22:11:53Z","updated_at":"2015-03-18T22:11:53Z","body":"It doesn't work:\r\n\r\n    > library(qtl) # version 1.36-6 from CRAN\r\n    > data(listeria)\r\n    > summary(listeria)\r\n    > plotPheno(x=listeria, xlab=\"phenotype\")\r\n    Error in hist.default(phe, breaks = ceiling(2 * sqrt(nind(x))), xlab = paste(\"phe\",  : \r\n      formal argument \"xlab\" corresponding to several provided arguments\r\n\r\nI spent quite some time to understand the error... In fact, it's because the `xlab=\"phenotype\"` I'm giving to plotPheno will belong to the dots `...`, and these dots will be given to `plot_pheno_sub`. But this function already has an explicit default for xlab, same for main and col. The only way I found was to also have these arguments explicitly at the level of plotPheno itself. I hope I'm clear."}}