Hello,
Tried using edgeR and met a problem that bugs me for a while, could not go further with edgeR following to the manual step-by-step.
The experiment consists of four lanes of controls and three lanes of cold treatment to see the DE of the cold treatment.
Here is my screen output following exactly the manual.
The expandAsMatrix function seems built-in. Not sure if any body has met this before. Any clue with this problem is greatly appreciated.
Yifang
Tried using edgeR and met a problem that bugs me for a while, could not go further with edgeR following to the manual step-by-step.
The experiment consists of four lanes of controls and three lanes of cold treatment to see the DE of the cold treatment.
Here is my screen output following exactly the manual.
Code:
> raw.data <- read.delim(file="Cold-CK.csv") > names(raw.data) [1] "FeatureID" "s1FC36" "s1FC77" "s1FC79" "s2FC77" "s2FC36" [7] "s2FC79" "s3FC77" > > data <- raw.data[, 2:8] > rownames(data) <- raw.data[, 1] > group <- c(rep("CK", 4), rep("Cold", 3)) > data <- DGEList(counts=data, group=group) Calculating library sizes from column totals. > dim(data) [1] 28775 7 > > data <- data[rowSums(1e+06*data$counts/expandAsMatrix(data$samples$lib.size, dim(data)) >1) >=3, ] Error in inherits(x, "data.frame") : could not find function "expandAsMatrix"
Yifang
Comment