This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Functions in DESeq2?

Can somebody explain what does following functions mean? They are from DESeq2.

  1. rep
  2. grp=factor()
  3. colData
  4. design= ~grp

    grp.idx <- rep(c("knockdown", "control"), each=4) coldat=DataFrame(grp=factor(grp.idx)) dds <- DESeqDataSetFromMatrix(cnts, colData=coldat, design = ~ grp)

Thanks!

deseq2

1 answer

This has nothing to do with DESeq2, as these are basic R functions (aside from the 3rd one). From within R, type:

  1. help(rep)
  2. help(factor)
  3. help(SummarizedExperiment)
  4. help("~")

Log in to answer this question.