missing.imputation: Matching between unq_ids and mblid for metabolomics to match...

Description Usage Arguments

View source: R/dataload_supp.R

Description

Matching unq_ids and mblids for data. First it searches for missing mblids in the data set and capture their unq_ids. Then it subsets the reference according to the unq_ids found. Then it selects the time period based upon the timelabel. For every row of data we check if their unq_ids is in the subsetted reference's unq_id, then we grab the indices of those ones. If there are more than one unq_id, we select the one with the highest read count. If not, we grab the mblid and inputted it in.

Usage

1
missing.imputation(reference, data, timelabel)

Arguments

reference

The data frame containing references

data

The data frame of the metabolomic data frame of interest

timelabel

The label of time point of interest


quangnguyen1995/MCTools documentation built on May 23, 2019, 8:56 a.m.