Description Usage Arguments Details Value Note Examples
View source: R/readMaxQuantProtGroups.R
Reads in "proteinGroups.txt" output (or its compressed version) as MSnSet.
1 | readMaxQuantProtGroups(path, quantType, verbose = 1)
|
path |
character path to the folder containing "proteinGroups.txt file". It should be in "raw files folder/combined/txt" |
quantType |
character Defines pattern what type of column to use for quantificaiton. E.g. "LFQ intensity" or "Ratio H/L normalized". |
verbose |
numeric controls the text output |
As feature data, only first 12 columns and iBAQ columns are used. Features are based on the genes. In case of multiple proteins matching the same gene, only the one with the highest iBAQ value is returned.
MSnSet
object
The "proteinGroups.txt" file can be compressed (gzip) to save space.
It looks like the convention for column naming in MaxQuant is
type of quantification followed by sample name separated by space.
E.g. "LFQ intensity Sample1" or "Ratio H/L normalized Control33".
In quantType
you need to specify the full first component
in the name that defines the type of quantification.
iBAQ option must be enabled in MaxQuant analysis because it is used to resolve ambiguity between two proteins matching one gene.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # label-free data
m <- readMaxQuantProtGroups(system.file("extdata/MaxQuant",
package="vp.misc"),
quantType="LFQ intensity")
exprs(m) <- log2(exprs(m))
exprs(m) <- sweep(exprs(m), 1, rowMeans(exprs(m), na.rm=TRUE), '-')
image_msnset(m)
# O18/O16 data
m <- readMaxQuantProtGroups(system.file("extdata/MaxQuant_O18",
package="vp.misc"),
quantType="Ratio H/L normalized")
exprs(m) <- log2(exprs(m))
exprs(m) <- sweep(exprs(m), 1, rowMeans(exprs(m), na.rm=TRUE), '-')
image_msnset(m)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.