This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Basic query: using Kallisto data with Sleuth - making a design matrix

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

1 answer

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

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

Log in to answer this question.