Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions web-app/Rscripts/LineGraph/LineGraphLoader.r
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ LineGraph.loader <- function(
library(plyr)
library(ggplot2)
library(Cairo)
library(gtools)
require(RColorBrewer)

line.data<-read.delim(input.filename, header=T, stringsAsFactors = FALSE)
Expand All @@ -30,6 +31,7 @@ LineGraph.loader <- function(
scaling.data <- read.delim(scaling.filename, header=T, stringsAsFactors = FALSE)
}
} else { # if scaling file is not available, each level of group (concept path) will be plotted at the number of that level
line.data <- line.data[mixedorder(line.data$GROUP),]
scaling.data <- data.frame(GROUP = unique(line.data$GROUP), VALUE = 1:length(unique(line.data$GROUP)), stringsAsFactors = FALSE)
}
# assign the X-axis position to each row
Expand Down