CutFlow | R Documentation |
CutFlow
CutFlow( Subdirectory, TrainingData, CutPointStatus, CutPointTime, minprop = 0.1, Variables, Greyscale = FALSE )
Subdirectory |
A subdirectory of your working directory, in which you store your dataset CSV files. Required. |
TrainingData |
The name of your training dataset, which is used to generate cutpoints. Required. |
CutPointStatus |
The survival status you wish to use to define your cutpoints. Required. |
CutPointTime |
The time variable you wish to use to define your cutpoints. Required. |
minprop |
The minimum proportion of cases to be included in a group. Default is 0.1 if none is provided. |
Variables |
A list of all variables you wish to be included. Names must match and be identical across datasets. Required. |
Greyscale |
Use 'TRUE' if a greyscale plot is wanted. Otherwise, red/blue is the default palette. |
CutFlow returns a folder with subdirectories, containing your input datasets, the otput of cutpoint generation and coded versions of your datasets.
Hayman, l.hayman.1@research.gla.ac.uk This function takes in a dataset(s), produces cut points using the maximally selected rank statistic and recodes your datasets.
CutFlow(Subdirectory = "CutFlowData", TrainingData = "Glasgow", CutPointStatus = "CSS", CutPointTime = "CSS_2017", minprop = 0.1, Greyscale = TRUE, Variables = c( "GD_PercPositiveCellsinHealthyTissue", "GD_PercPositiveCellsinTumourTissue", "CD8_PercPositiveCellsinHealthyTissue", "CD8_PercPositiveCellsinTumourTissue"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.