SpaceClust(mutation.data, position.matrix, method = "SimMax", numsims = 1000,
simMaxSpheres = 3, radii.vector, multcomp = "bonferroni", alpha = 0.05)get.Positions and get.AlignedPositions in the iPAC package.p.adjust for a full description.
get.Positions
SpaceClust
CIF <- "http://www.pdb.org/pdb/files/3GFT.cif"
Fasta <- "http://www.uniprot.org/uniprot/P01116-2.fasta"
KRAS.Positions <- get.Positions(CIF, Fasta, "A")
data(KRAS.Mutations)
#Calculate the required clusters using SimMax
SpaceClust(KRAS.Mutations, KRAS.Positions$Positions, radii.vector = c(1,2,3,4))
#Calculate the required clusters using Poisson
SpaceClust(KRAS.Mutations, KRAS.Positions$Positions, radii.vector = c(1,2,3,4), method = "Poisson")
Run the code above in your browser using DataLab