--
You received this message because you are subscribed to the Google Groups "trinityrnaseq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trinityrnaseq-u...@googlegroups.com.
To post to this group, send email to trinityrn...@googlegroups.com.
Visit this group at https://groups.google.com/group/trinityrnaseq-users.
For more options, visit https://groups.google.com/d/optout.
The counts are fractionally assigned by the various abundance estimation methods, as a way of dealing with multi-mapped reads.You can convert them to integer values in R. If you don't find out how via google, I can provide some hints.best,~b
On Thu, Mar 10, 2016 at 11:40 AM, Xiaopei Su <suxi...@gmail.com> wrote:
Hi Brian and all,I am doing a time course study using DESeq package. In the process of importing raw counts to R, I got an error said:Error in DESeqDataSet(se, design = design, ignoreRank) :some values in assay are not integersThe I noticed the numbers in counts.matrix is not integer. But I thought this file is the raw counts number? Why it's not integer?Is there anyway I can use this file?Thank you in advance!Best regards,Xiaopei
--
You received this message because you are subscribed to the Google Groups "trinityrnaseq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trinityrnaseq-users+unsub...@googlegroups.com.
To post to this group, send email to trinityrn...@googlegroups.com.
Visit this group at https://groups.google.com/group/trinityrnaseq-users.
For more options, visit https://groups.google.com/d/optout.
> m = matrix(c(1.1, 2.2, 3.3, 4.4, 5.5, 6.6), byrow=T, ncol=2)
> m
[,1] [,2]
[1,] 1.1 2.2
[2,] 3.3 4.4
[3,] 5.5 6.6
> as.integer(m)
[1] 1 3 5 2 4 6
> apply(m, 1:2, round)
[,1] [,2]
[1,] 1 2
[2,] 3 4
[3,] 6 7
>