Off topic:Deseq2 : Error some values in assay are not integers
0
0
Entering edit mode
3.7 years ago
c.e.chong ▴ 60

Hi all,

I'm trying to construct deseq2 dataset object using :

countData <- read.csv('ddtry2000.csv',sep = ",", header = TRUE, row.names = 1)
metaData <- read.table('metadatakegg.txt', header = TRUE, sep = "\t", row.names = 1)
#construct deseq dataset object 
keggdds <- DESeqDataSetFromMatrix(countData=countData, 
                                  colData=metaData, 
                                  design=~scalp_site)

Here is a snippet of my countData:

             HH_S18     HH_S19      HH_S1     HH_S20      HH_S21     HH_S22     HH_S2
    K00001   0.000000   0.000000   0.000000   0.000000    0.000000   0.000000   0.26893
    K00002  18.509523  16.244886  54.630965 131.025864  183.579496  83.970474  35.15142
    K00003 348.549251 441.184919 200.773243 493.427718 1117.861729 180.713892 582.49634
    K00004   0.969867   0.000000   0.563153  37.426118    1.799646   5.725418  10.14712
    K00005   0.000000   0.226449   0.475544   0.522645    0.165761   4.469203  24.36504
    K00006  20.199058  23.003324  97.738354 303.029298  201.555840  67.906913  40.71181

Here is a snippet of my metadata:

               scalp_site
HH_S18          Healthy
HH_S19          Healthy
HH_S1           Healthy
HH_S20          Healthy
DD_S10         Dandruff
DD_S12         Dandruff
DD_S14         Dandruff
DH_S17 Dandruff_Healthy
DH_S7  Dandruff_Healthy
DH_S9  Dandruff_Healthy

I keep getting this error message and I'm not sure how to ensure all the values are numeric. I would be grateful for any advice!

Error in DESeqDataSet(se, design = design, ignoreRank) : some values in assay are not integers

RNA-Seq Metagenomics R • 5.7k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2658 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