search for: 146a

Displaying 2 results from an estimated 2 matches for "146a".

Did you mean: 146
2009 May 23
2
counting occurrence of text in a dataframe
...t (by gene) and then counting the length of each gene element. However I thought that there might be a more elegant solution. Tanaka Mitchell Wang Hunter Chen Chim miR-191* let-7e let-7b miR-126 let-7a let-7g miR-198 let-7f let-7c miR-146a let-7b let-7i miR-22 let-7g miR-1224 miR-16 let-7d miR-130b miR-223 let-7i miR-124 miR-191 let-7f miR-133a miR-296 let7fG15A miR-125a-3pmiR-222 let-7g miR-140 miR-30d miR-101 miR-125b-5pmiR-223 let-7i miR-142-5p miR-37...
2012 Nov 06
1
Filling dataframe incorrectly in for loop
..."C:/Desktop/mirtarget2_predictions.txt" data = read.table(file1, header=FALSE, sep="\t") colnames(data) = c("mir", "gene", "score") data$mir = as.character(data$mir) data$gene = as.character(data$gene) #input miR of Interest mirs = c("hsa-miR-146a-5p", "hsa-miR-215") #create table of miR targets table = data.frame(data[0,]) for(i in 1:length(mirs)) { holder = subset(data, data$mir==mirs[i]) table = holder } The problem is that each time the loop runs, table is being overwritten by holder, and I can't create something lik...