## Not run:
# #Extract the data from a CIF file and match it up with the canonical protein sequence.
# #Here we use the 3GFT structure from the PDB, which corresponds to the KRAS protein.
# CIF<-"http://www.pdb.org/pdb/files/3GFT.cif"
# Fasta<-"http://www.uniprot.org/uniprot/P01116-2.fasta"
# KRAS.Positions<-get.AlignedPositions(CIF,Fasta, "A")
#
# #Load the mutational data for KRAS. Here the mutational data was obtained from the
# #COSMIC database (version 58).
# data(KRAS.Mutations)
#
# #Identify and report the clusters.
# ClusterFind(mutation.data=KRAS.Mutations,
# position.data=KRAS.Positions$Positions,
# create.map = "Y",Show.Graph = "Y")
# ## End(Not run)
Run the code above in your browser using DataLab