read2MSnSet | R Documentation |
Imports a file and converts it into an MSnSet
object (Gatto et al., 2012).
read2MSnSet(file, pattern = NULL, colInt = NULL, remove_pattern = FALSE, sep = "\t", na.strings = NULL, quote = "", comment.char = "", shiny = FALSE, message = NULL, ...)
file |
The name of a file. For more details about how this argument can be specified, see |
pattern |
A character string containing a regular expression that will be matched to the file's header. The columns matching the expression should be the columns containing the peptide intensity values. Defaults to |
colInt |
A vector of integers indicating the columns containing the peptide intensity values. Defaults to |
remove_pattern |
A logical indicating whether the expression in "pattern" should be removed from the column names in the resulting |
sep |
A character indicating the field separator character. Values on each line of the file are separated by this character.The Defaults to "\t", indicating a tab-delimited input file. |
na.strings |
A character vector of strings which are to be interpreted as NA values. Blank fields are also considered to be missing values in logical, integer, numeric and complex fields. Note that the test happens after white space is stripped from the input, so |
quote |
The set of quoting characters. See |
comment.char |
A character vector of length one containing a single character or an empty string. Defaults to |
shiny |
A logical indicating whether this function is being used by a Shiny app. Setting this to |
message |
Only used when |
... |
Further arguments that can be passed on to the |
An object of class MSnSet
.
Gatto L, Lilley KS. MSnbase - an R/Bioconductor package for isobaric tagged mass spectrometry data visualization, processing and quantitation. Bioinformatics. 2012 Jan 15;28(2):288-9. https://doi.org/10.1093/bioinformatics/btr645.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.