Displaying 1 result from an estimated 1 matches for "microarray_data".
2011 Apr 07
1
Two questions about metacharacter in regexprs and function return
...k questions
DEG_files <- grep("bak", dir());#pay attention to the filenames
exprs_files <- grep("copy", dir());
protein <- c();
assign_exprs <- function(files, protein) { #use to find the DEGs or exprs
for cmeans clustering
for(i in 1:length(files)) {
microarray_data <- read.csv(file = files[i], header = T, sep =
"\t");
microarray_data[, 7] <- gsub("([\\s\\S]+gene_name '(\\w*)';.+)",
"\\2", microarray_data[, 7], perl = T);#why [\\w]* cannot workable? also the
[(\\w*)(N/A)] cannot be workable.
assign(fi...