Packing your bag

Collect your expression data in a matrix where columns correspond to samples and rows to genes. The first row contains sample labels and the first column contains gene labels. Separate all entries (labels and expression values) by tabs. Common data management tools like Microsoft© Excel and SPSS© offer to save data in tab-delimited formats. Say, the matrix is stored in a text file called In R, read it into a matrix X by typing: X <- read.delim(""). In a second file, store additional information like condition labels for each sample (which sample is a wild-type, which sample is a mutant?). Similarly, read the reference values into a vector y.

0 0

Post a comment