gravatar for makwana.kd

2 hours ago by

Hi, I have been trying to merge HTseq files into one data matrix using following script. However, I am encountering following error;

directory <- "C/RNA SEQ adv cgrp/IWAT"

sampleFiles <- grep("COUNT FILES",list.files(directory),value=TRUE)

condition <- c('237 COUNT FILES','264 COUNT FILES','267 COUNT FILES','265 COUNT FILES')

sampleTable <- data.frame(sampleName = sampleFiles,
+ fileName = sampleFiles,
+ condition = condition)

Error in data.frame(sampleName = sampleFiles, fileName = sampleFiles, :
arguments imply differing number of rows: 0, 4

I have checked individual files and they all have same number of rows.

link

modified 2 hours ago

written
2 hours ago
by

makwana.kd20



Source link