Skip to content

Clarifying id/label requirement/capability for pedigree() and fixing getASubset()#5

Open
gregorgorjanc wants to merge 7 commits intoRpedigree:masterfrom
gregorgorjanc:master
Open

Clarifying id/label requirement/capability for pedigree() and fixing getASubset()#5
gregorgorjanc wants to merge 7 commits intoRpedigree:masterfrom
gregorgorjanc:master

Conversation

@gregorgorjanc
Copy link
Copy Markdown
Contributor

Hi,

I got bitten by getASubset() assuming that ids/labels are 1:n, while they can be pretty much anything.

In this PR I did two things:

  • Clarifying id/label requirement/capability for pedigree() (since we use factors we are extremely flexible here, maybe even too much!? - I have now shown examples what is and is not allowed to make this clear)
  • fixed getASubset() to allow for ids/labels that are not just 1:n

While I think this is all good and a step in the right direction, I am wondering/pondering/worrying if other functions also work with this very flexible id/labelling scheme. I can go away and check and add test/show cases, but though best opening this PR earlier to get some feedback and discussion if this is really what we want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant