get_ms1ft | R Documentation |
Reads in ms1ft from the ProMex algorithm in InformedProteomics, and associates features to protein data from the Ic_Targets file from MSPathFinderT. All of this data is used to generate the promex feature plot.
get_ms1ft(MS1FTPath, TargetsPath = NULL, TrimColumns = TRUE)
MS1FTPath |
Path to the MS1FT txt file, which is a tsv. Required. |
TargetsPath |
Optional path to an IC targets file which links MS1FT features to proteins. Default is NULL. |
TrimColumns |
A logical to indicate whether all columns or only columns relevant to promex_feature_plot should be returned. Default is TRUE. |
The data.table outputted by this function contains many columns. Listed below are the main ones.
FeatureID | An identified mass across elution (retention) times is given a feature ID, typically a single number. |
MinElutionTime | The smallest retention time of the feature |
MaxElutionTime | The largest retention time of the feature |
MonoMass | The monoisotopic mass of the feature. |
Abundance | The relative abundance of the feature. |
ProteinName | If the Targets file is provided, the name of the protein associated to that feature. |
## Not run:
# Test top down data
tmpdir <- tempdir()
download.file("https://raw.githubusercontent.com/EMSL-Computing/PSpecteR/master/pspecter_container/TestFiles/TopDown/TopDown.ms1ft",
file.path(tmpdir, "TopDown.ms1ft"))
download.file("https://raw.githubusercontent.com/EMSL-Computing/PSpecteR/master/pspecter_container/TestFiles/TopDown/TopDown_IcTarget.tsv",
file.path(tmpdir, "TopDown_IcTarget.tsv"))
# Generate object
MS1FT <- get_ms1ft(MS1FTPath = file.path(tmpdir, "TopDown.ms1ft"),
TargetsPath = file.path(tmpdir, "TopDown_IcTarget.tsv"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.