Affinity Propagation on copy number alteration data
0
0
Entering edit mode
6.1 years ago
kulani.s91 • 0
GENE_ID X53 X54 X56 X57
ALK      0   0   1   1
APC      0   0   0   0
AR       2   2   0   2
ASXL1    0   1  -1   0
ATRX     0  -1   1  -1

I have the dataset above. I used the R code

> test <- read.table("test.csv", sep=",", header = TRUE, fill = TRUE)
> test <- as.matrix(test)
> apres5 <- apcluster(negDistMat(r=2), test, q=0, details=TRUE)
> plot(apres5, test)
> heatmap(apres5)

I get the following error when I run the code

> plot(apres5, test)
Error in .local(x, y, ...) : cannot plot more than 15 features at once
> heatmap(apres5)
Error in rep(sideColors, sapply(x@clusters[[x@maxNoClusters]][srtIndex],  : 
  invalid 'times' argument
In addition: Warning message:
In .local(s, x, ...) : there is nothing to cluster

Any idea how to resolve this?

R software error • 1.1k views
ADD COMMENT

Login before adding your answer.

Traffic: 1779 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6