Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In write2csv(), option to include row names #19

Closed
kbroman opened this issue Sep 21, 2019 · 0 comments
Closed

In write2csv(), option to include row names #19

kbroman opened this issue Sep 21, 2019 · 0 comments

Comments

@kbroman
Copy link
Member

kbroman commented Sep 21, 2019

write2csv() currently ignores the row names completely, so I'm often doing stuff like

write2csv(cbind(id=rownames(blah), blah), "blah.csv")

It'd be nice to include arguments like include.rownames=FALSE, and rownames_colname="id"

kbroman added a commit to kbroman/qtl2convert that referenced this issue Sep 24, 2019
 - If non-NULL (and not NA), output will contain the row names, and
   this argument defines the name for that column.

 - Also added a test for write2csv().

 - Implements Issue rqtl#19.
@kbroman kbroman closed this as completed Sep 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant