Entering edit mode
D F
▴
10
@d-f-2890
Last seen 10.3 years ago
Hi,
I'm new to Bioconductor and R and I apologize if this is absolutely
obvious
(as it must be), however, the issue escapes me. I wish to run SAM on a
set
of 5 replicates over two classes. I've loaded normalized and logged
expression data into a matrix (called data) and ran the commands
below,
which results in an error. Could you please advise on what the problem
might
be?
Thanks.
De
> dim(data)
[1] 22690 5
> dim(gene_names)
[1] 22690 1
> rownames(data) <- as.matrix(gene_names)
> sam.out <- sam(data, c(0,0,1,1,1))
We're doing 10 complete permutations
Error in d.perm[, i] <- sort(tmp$t.num/(tmp$t.denum + s0)) :
number of items to replace is not a multiple of replacement length
In addition: Warning message:
There are 127 variables with zero variance. These variables are
removed,
and their d-values are set to NA.
[[alternative HTML version deleted]]