View source: R/saveClusteredCells.R
saveClusteredCells | R Documentation |
Writes clone statistics, dendrogram and clone-specific mutation profiles.
saveClusteredCells(outc, expression, ccMembership, sName, outD)
outc |
Output of |
expression |
Gene-by-cell matrix of expression. |
ccMembership |
List with each entry containing all cell IDs associated with a given cell cycle state. Must include entry 'G1Malignant', containing the IDs of G0G1 tumor cells. |
sName |
Prefix for the output files (typically the sample name). |
outD |
The output directory. |
Writes each of the following aspects of a sample's clonal composition into an output file:
1. The clone membership of each cell (*.spstats)
2. The segment-by-cell matrix of copy number states (*.sc.cbs)
3. The consensus copy number profile of each detected clone, calculated as the average profile of cells that are members of the respective clone (*.sps.cbs)
4. The cell dendrogram (*.tree).
5. For each clone, a segment-by-cell matrix of copy number states for all cell members of that clone.
Noemi Andor
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.