Description Usage Arguments Details Value Note Author(s) Examples
This function allows printing of different peptide plots after running wrapperLSPFP once.
1 | printSelectedPeptides(path, fname, mysorteddf = NULL)
|
path |
Character vector giving the path to a data folder in the analysis directory. |
fname |
Character vector containing the name of the new file. |
mysorteddf |
A data.frame that can be a sorted and/or shortened data.frame of the |
This function offers the possibility to print more selectively peptide plots after wrapperLSPFP was applied.
To get a smaller plot, it is necessary to commit an existing anlaysis directory from the AnalysisData directory.
The new file is named like fname
and stored in the specified directory path
. If a smaller dataset should be printed, a row wise sorted or shortened feature_table
is to be used as basis for printing but no columns should be removed. This new data.frame (mysorteddf
) will be processed for printing.
A PDF file named like fname in the analysis directory path. Returns TRUE if the printing was successful and FALSE if not.
A detailed vignette will follow soon.
Rafael Dellen
Rafael.Dellen@uni-duesseldorf.de
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
#To run this example you need to run the example from wrapperLSPFP
path <- paste0(getwd(),"/AnalysisData/Test_Mouse")
test <- read.csv(paste0(path, "/feature_table.csv"))
#Rows can be deleted or sorted but columns should not be removed
#Print the first 25 rows
myprint <- test[1:25,]
#Sort by accession
myprint2 <- test[sort(test$Accession), ]
printSelectedPeptides(path, "newfeaturetable", mysorteddf = myprint)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.