This is an R package to plot oncoPrints similar to what one can do at cBio portal. Users can select either auto ordering of genes, or supply a gene order (can be partial). The output includes the gene and sample order to allow for plotting additional charts that can align with the oncoPrint.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.