R. Michael Weylandt
michael.weylandt at gmail.com
Tue Nov 8 00:24:26 CET 2011
This is one of those quirky R moments, try something like
On Mon, Nov 7, 2011 at 4:24 PM, Eric <v_candida at hotmail.com> wrote:
> I have RNAseq data, which I am trying to analyze with DESeq. My file (tab delimited .txt) appears to be correct:
> VZ_w13 VZ_w14a VZ_w14b VZ_w15a VZ_w15b VZ_w16a
> ENSG00000253101 0 0 0 0 0 0
> ENSG00000223972 0 0 0 0 0 0...
> However, when I try to analyze the data with
>>cds <- newCountDataSet(myfile,conds)
> I get the following message:
> "Error in newCountDataSet(myfile,conds) : The countData is not integer.
> The problem, as far as I can tell, is that my data are numerical, not integer, because when I run
> 'data.frame': 53433 obs. of 14 variables:
> $ VZ_w13 : num 0 0 0 0 8 0 0 0 0 0 ...
> Does anyone have a way to convert my file from numerical to integer? As you can see, the data are in fact integers are already, so I'm a bit confused.
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help