Description Usage Arguments Value Examples
Convert response data from a data frame into tidy format
1 2 3 | ## S3 method for class 'data.frame'
gather_response(x, sample_ids = NULL,
compound_ids = NULL, endpoints = NULL, resp_ids = NULL)
|
x |
a data frame in either resp_df or tall_df format |
sample_ids |
A vector of sample ids. Default is NULL (don't filter on sample id) |
compound_ids |
A vector of compound ids. Default is NULL (don't filter on compound id) |
endpoints |
A vector of endpoints. Default is NULL (don't filter on endpoint) |
resp_ids |
A vector of response ids. Default is NULL (don't filter on response id) |
a data frame in tall_df format
1 2 3 4 5 | data('dietlein_data')
gather_response.data.frame(dietlein_data, sample_ids=c('NCIH1703_LUNG', 'NCIH1792_LUNG'))
gather_response.data.frame(dietlein_data, compound_ids='KU60648')
gather_response.data.frame(dietlein_data, endpoints='pGI50')
gather_response.data.frame(dietlein_data, resp_ids='KU60648_pGI50')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.