Entering edit mode
Khan, Saad M. MU-Student
▴
10
@khan-saad-m-mu-student-4839
Last seen 10.4 years ago
Hi I am a novice in both R and EdgeR. I have a readcounts tab
seperated file (with around 24 conditions belonging to 6 different
groups with its first column containing the tag identifiers and the
other columns containing the read counts. I used read.delim function
in R in the following manner :-
seq_data <- read.table("newfile.txt", header = TRUE, sep = "\t" )
after that I tried to make a DGEList in the following manner :-
Dlist <- DGEList (counts = seq_data)
it gives me the following error :-
Error in colSums(counts) : 'x' must be numeric
after going through the mailing list i also tried the solution given
below in one of the mailing list :-
for (f in seq_data$files)
str(read.delim(f, stringAsFactors=FALSE))
but it does not works. Please suggest where I am going wrong
thanks & regards
Saad
[[alternative HTML version deleted]]