hammerlab / cohorts

Utilities for analyzing mutations and neoepitopes in patient cohorts
Apache License 2.0
20 stars 4 forks source link

support plotting survival curves for more than 2 groups #217

Closed jburos closed 7 years ago

jburos commented 7 years ago

Came up in a recent conversation on slack; and, have personally wanted this feature for a while.

Some scenarios that came up in my experience:

Copying convo from slack here for context:

@timodonnell :

I’d like to generate a survival curve for various levels of T cell infiltration

@tavinathanson:

how many curves in the plot? cohorts right now allows just 2 curves based on a binary feature or e.g. split by median value

jburos commented 7 years ago

Linking to related PR: #225. This PR implements the first two scenarios of the 3 listed above.