# NOT RUN {
#The download of gff-files and FASTA-sequences from UniProt
# might be time consuming.
# Please consider this before running the example.
# }
# NOT RUN {
#please choose a path
globpath <- getwd()
expname <- "Test_Mouse"
sourcefiles <- system.file("extdata", "Mouse.txt",
package="LSPFPpackagetest")
org <- "Mouse"
#prepare grlocationdf
expnames <- c("Lysat_PB1a","Lysat_PB2a","Lysat_PB3a","Lysat_PB4a",
"Lysat_PB5a","Lysat_PK1a", "Lysat_PK2a","Lysat_PK3a","Lysat_PK4a",
"Lysat_PK5a","Sekretom_PB1a","Sekretom_PB2a","Sekretom_PB3a",
"Sekretom_PB4a","Sekretom_PB5a","Sekretom_PK1a","Sekretom_PK2a",
"Sekretom_PK3a","Sekretom_PK4a","Sekretom_PK5a")
# Are the values from the secretome or the proteome of the cells?
explocation <- c(rep("Proteome",10),rep("Secretome",10))
# Are the cells from the same culture eg. patient?
expsample <- c(rep(1:5,4))
# Are the samples differently treated?
#(different environments, chemicals, tissue extraction technique)?
exptreatment <- c(rep("AA",5),rep("BB",5),rep("AB",5),rep("BC",5))
#Group specifies which experiments belong together
group <- c(rep(1,10),rep(2,10))
grlocationdf <- data.frame(Expname = expnames, Location = explocation,
Treatment = exptreatment, Sample = expsample,
Group = group, stringsAsFactors = FALSE)
species <- "MOUSE"
proteomeid <- "UP000000589"
taxid <- "10090"
domain <- "Eukaryota"
res <- wrapperLSPFP(globpath, expname, sourcefiles, org, grlocationdf,
species= species, proteomeid = proteomeid,
taxid = taxid, domain = domain)
# }
Run the code above in your browser using DataLab