Description Usage Arguments Value Examples
Create a response_vs_genetic data frame from two tall data frames
1 2 3 4 |
df |
a data frame in tall_df format containing the genetic data (and response data if df2 not set) |
df2 |
a data frame in either tall_df or resp_df format containing the response data. Default is NULL (just use df) |
sample_ids |
A vector of sample ids. Default is NULL (don't filter on sample id) |
gene_ids |
Gene ids in df. Default is NULL (don't filter on gene id) |
data_types |
Data type for genetic data. Default is NULL (don't filter on data type) |
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 rvg_df format
1 2 3 4 5 6 7 8 9 10 | data('CCLEsmall', package='PharmacoGx')
genetic_data <- gather_assay.PharmacoSet(CCLEsmall, sample_ids=PharmacoGx::cellNames(CCLEsmall),
gene_ids = c('RBM5', 'LAP3', 'CFTR'), data_type = 'rna')
resp_data <- gather_response.PharmacoSet(CCLEsmall, sample_ids=PharmacoGx::cellNames(CCLEsmall),
resp_ids=c('AEW541', 'Nilotinib'), resp_col='ic50_published')
rvg_df <- make_response_vs_genetic_df.data.frame(df=genetic_data, df2=resp_data, sample_ids=PharmacoGx::cellNames(CCLEsmall), gene_ids='RBM5',
data_types='rna', resp_ids='Nilotinib')
rvg_df
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.