View source: R/genomics_by_sample.R
| get_mutations_by_sample | R Documentation | 
Get Mutations By Sample ID
get_mutations_by_sample(
  sample_id = NULL,
  study_id = NULL,
  molecular_profile_id = NULL,
  sample_study_pairs = NULL,
  genes = NULL,
  panel = NULL,
  add_hugo = TRUE,
  base_url = NULL
)
| sample_id | a vector of sample IDs (character) | 
| study_id | A string indicating the study ID from which to pull data. If no study ID, will
guess the study ID based on your URL and inform. Only 1 study ID can be passed. If mutations/cna from
more than 1 study needed, see  | 
| molecular_profile_id | A string indicating the molecular profile ID from which to pull data. If ID supplied, will
guess the molecular profile ID based on the study ID. Only 1 molecular profile ID can be passed. If mutations from
more than 1 study needed, see  | 
| sample_study_pairs | A dataframe with columns:  | 
| genes | A vector of Entrez ids or Hugo symbols. If Hugo symbols are supplied, they will be converted to entrez ids using the  | 
| panel | One or more panel IDs to query (e.g. 'IMPACT468').
If  | 
| add_hugo | Logical indicating whether  | 
| base_url | The database URL to query
If  | 
A data frame of mutations (maf file format)
## Not run: 
get_mutations_by_sample(sample_id = c("TCGA-OR-A5J2-01","TCGA-OR-A5J6-01"),
study_id = "acc_tcga",
base_url = "public")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.