extract_eic | R Documentation |
Extract EICs of some features from some samples.
extract_eic(
targeted_table,
object,
polarity = c("positive", "negative"),
mz_tolerance = 15,
rt_tolerance = 30,
threads = 5,
add_point = FALSE,
path = ".",
group_for_figure = "QC",
feature_type = c("pdf", "png"),
width = 10,
height = 6,
device = NULL
)
targeted_table |
A data.frame contains the variable_id, mz and rt of features to extract. |
object |
object from xcms. If you use massprocesser, this should be the xdata3. |
polarity |
positive or negative. |
mz_tolerance |
default is 15 ppm. |
rt_tolerance |
default is 30 ppm. |
threads |
Number of threads. |
add_point |
aad points in the EIC or not. |
path |
Work directory. |
group_for_figure |
what samples groups are used to extract EICs |
feature_type |
png of pdf |
width |
figure width |
height |
height width |
device |
Device to use. Can either be a device function (e.g. png), or one of "eps", "ps", "tex" (pictex), "pdf", " jpeg", "tiff", "png", "bmp", "svg" or "wmf" (windows only). |
EICs.
Xiaotao Shen shenxt1990@outlook.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.