Skip to content

Commit

Permalink
Demonstrating filter out in regular expressions, add todo comment on …
Browse files Browse the repository at this point in the history
…a key
  • Loading branch information
Charles Watt committed Jun 21, 2023
1 parent 6997303 commit 40dd3df
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/VignetteDataTest.R
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@

name <- "Input_Data/20230530_103408_20230525_HeLa-6mix_cleanedMQdb_MS2quant_Report.csv"

rawData <- read.csv(name)

data <- preprocessing(name, filterUnique = 2)

dataFilter1<- filterOutIn(data, TRUE, listName = c("MYG_HORSE"))
#TODO: preprocessing returns data + "key" which is a data frame of protein name, gene name, accession number, and description.
# key is for labeling: searching, look up, matching

dataFilter1.5<- filterOutIn(data, TRUE, stringSearch = "CON__" )
dataFilter1<- filterOutIn(data, TRUE, listName = c("MYG_HORSE"))

dataFilter1.5<- filterOutIn(data, FALSE, stringSearch = "MOUSE" )

# Optional 1: generate venn diagram
combos.list <- sortcondition(dataFilter1)
Expand All @@ -15,7 +19,6 @@ vennMain(combos.list)
#Optional 1



dataTrans <- transform(dataFilter1)

dataImput2 <- impute(dataTrans)
Expand Down

0 comments on commit 40dd3df

Please sign in to comment.