export_robject: export_robject

Description Usage Arguments Value Examples

View source: R/metaprotr_export_robject.R

Description

Exports one of the dataframes present in a "metaproteome_object" or in "spectral_count_object". The export extensions can be RDATA or RDS.

Usage

1
export_robject(entry_object, data_exported, format_data, force = FALSE)

Arguments

entry_object

A "metaproteome_object" or a "spectral_count_object" with similar format to that generated with the functions "load_protspeps" or "getsc_specific", respectively.

data_exported

Character indicating the type of data to be exported from a "metaproteome_object" or a "spectral_count_object". The possible options are: i) "proteins", ii) "peptides", iii) "pepProts", iv) "spectral", v) "spectral_percent", vi) "metadata".

format_data

Character indicating the file extension, this can be either "RDATA" or "RDS".

force

Logic value set at FALSE by default in order to ask permission to create object in the workstation of the user.

Value

A file with the extension "RDATA" or "RDS" containing the information from the selected dataframe from a "metaproteome_object" or a "spectral_count_object".

Examples

1
2
3
4
5

metaprotr documentation built on Feb. 5, 2021, 9:06 a.m.