Basic query: using Kallisto data with Sleuth - making a design matrix
1
0
Entering edit mode
4.9 years ago
Harry • 0

I'm going through this tutorial for Sleuth: https://rpubs.com/kapeelc12/Sleuth

I'm a complete beginner to R though and step 8 is really confusing me ("load an auxillary table that describes the experimental design and the relationship between the kallisto directories and the samples") - when I enter the suggested code:

s2c <- read.table(file.path(base_dir, "design_matrix"), header = TRUE, stringsAsFactors=FALSE)

I get:

"cannot open file '/blah/blah/design_matrix': No such file or directory"

Presumably I need to make this design_matrix beforehand, but how do I make this?

Thanks in advance

RNA-Seq R • 968 views
ADD COMMENT
2
Entering edit mode
4.9 years ago

Doesn't the tutorial show you an example of what the file should look like right there?

ADD COMMENT
0
Entering edit mode

I just made a txt file based on the example and it worked! Thanks, I had no idea it was that simple, this is all very new to me

ADD REPLY

Login before adding your answer.

Traffic: 2614 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6