Error in eval(substitute(select), nl, parent.frame()) : object 'Length' not found

Hi All,

This is my code for read the csv file generated by Rsubread library.

countData <- read.csv("counts.csv", header = TRUE, sep = "\t")
countData <- subset(countData, select=-c(Length))
colnames(countData) <- gsub("Aligned.sortedByCoord.out.bam","",colnames(countData))

I got the error during execution.
Error in eval(substitute(select), nl, parent.frame()) :
object 'Length' not found

Kindly help me.

colnames(countData)

will confirm if the variable Length is present.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.