QuantGen / BEDMatrix

A matrix-like wrapper around PLINK .bed files
Other
18 stars 2 forks source link

added names_simple option to BEDMatrix #20

Closed alexviiia closed 5 years ago

alexviiia commented 5 years ago

I added a names_simple option to BEDMatrix initialize. I documented, repeated tests (all passed), upped version and added to news.

The option is FALSE by default (default behavior is the same as it used to be). If TRUE, rownames are subject IDs only (without concatenating with family ID), and colnames are SNP IDs only (without concatenating with minor allele). Personally I never use the default names, but sometimes I could not remove the undesired components by splitting with underscores, as some of my identifiers also have underscores. The new names_simple=TRUE behavior is what I prefer for all my projects so I contributed this extension expecting others to want the same.

agrueneberg commented 5 years ago

Thanks, Alex! I've pushed a variant called simple_names, which rolls off the tongue better, I think.