search for: mirtarget2_predict

Displaying 1 result from an estimated 1 matches for "mirtarget2_predict".

2012 Nov 06
1
Filling dataframe incorrectly in for loop
...veryone, I am writing a simple script to read in a data file, search through the data file for an exact character match for a microRNA name, subset those rows, and aggregrate a dataframe with those subselections all in a for loop. This is what I have so far: #READ IN DATA file1 = "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&quo...