Hi there- I am trying to analyze RNA seq counts in R and am receiving an error code when running this chunk of code:
# mRNA profiles of
# control group (WT), *
# knockout group (PG100), *
sampleNames <- c("WT_A","WT_B","WT_C","PG100_A","PG100_B","PG100_C")
sampleCondition <- c("control","control","control","PG100","PG100","PG100")
sampleTable <- data.frame(sampleName=sampleNames,
fileName=sampleFiles,
condition=sampleCondition)
ddsHTSeq <- DESeqDataSetFromHTSeqCount(sampleTable=sampleTable,
directory=directory,
design=~condition)
Error in DESeqDataSetFromHTSeqCount(sampleTable = sampleTable, directory = directory, : could not find function "DESeqDataSetFromHTSeqCount"
Also--- I have already loaded the DESeq2 library and set my working directory to where the .counts files exist previous to running this chunk. Thank you in advance.
Did you issue:
How did you load it? Any messages when you loaded it?
Yes- I have attached below. I also just updated my R studio to the most recent version (1.1.453).
I added code markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below: