FlowR consists of a series of workflows, each representing a form of analysis. To date, these are; CutFlow, SurvFlow and CompFlow.
You can install the released version of FlowR from GITHUB with:
library(devtools)
install_github("HHayman/FlowR")
You can load the FlowR package with:
library(FlowR)
Arrange your data to meet the following criteria;
To run CutFlow, simply fill in the blanks, as in the example below;
CutFlow(Subdirectory = "YourSubdirectory", TrainingData = "TrainingDataset",
CutPointStatus = "StatusVariable", CutPointTime = "TimeVariable", minprop = 0.1,
Greyscale = TRUE, Variables = c( "Variable1",
"Variable2",
"Variable3",
"Variable4",
"Variable5",
"Variable6",
"Variable7",
"Variable8",
"Variable9",
"Variable10",
"Variable11",
"Variable12"))
A new folder will be created in your R directory;
SurvFlow consists of modules. Currently there are two, SurvBase and SurvFacet
Arrange your data to meet the following criteria;
To run SurvFlow, simply fill in the blanks, as in the example below;
Data <- read.csv(file.choose(), fileEncoding = 'UTF-8-BOM')
SurvFlow(
Data,
Variables = c(
"Variable1",
"Variable2",
"Variable3",
"Variable4",
"Variable5",
"Variable6",
"Variable7",
"Variable8",
"Variable9",
"Variable10",
"Variable11",
"Variable12"
),
LegendLabels = c("Low", "High"),
Identifier = "Identifier",
PlotTitles = c(
"Title1",
"Title2",
"Title3",
"Title4",
"Title5",
"Title6",
"Title7",
"Title8",
"Title9",
"Title10",
"Title11",
"Title12"
),
SurvivalStatus = c("Status1", "Status2", "Status3", "Status4"),
SurvivalTime = c("Time1", "Time1", "Time2", "Time2"),
xYearSurvivalVar = 5,
SurvivalTimeUnit = "Months",
SurvBase = TRUE
)
A new folder will be created in your R directory;
CompFlow compares two sets of measurements and outputs;
Arrange your data to meet the following criteria;
To run CompFlow, simply fill in the blanks, as in the example below;
Data <- read.csv(file.choose(), fileEncoding = 'UTF-8-BOM')
CompFlow(Data, ICCModel = "twoway", ICCType = "agreement", ICCUnit = "single", Density = "Yes")
A new folder will be created in your R directory;
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.