powered by
Takes in data from data.frame of cell-level multiplexed data to create a mx_dataset S3 object.
mx_dataset(data, slide_id, image_id, marker_cols, metadata_cols = NULL)
data.frame object in the mx_dataset format with attribute for input type
multiplexed data to normalize. Data assumed to be a data.frame with cell-level data.
String slide identifier of input data. This must be a column in the data data.frame.
data
String image identifier of input data. This must be a column in the data data.frame.
vector of column name(s) in data corresponding to marker values.
other identifiers of the input data (default=NULL). This must be a vector of column name(s) in the data data.frame.
mx_data = mx_dataset(mxnorm::mx_sample, "slide_id", "image_id", c("marker1_vals","marker2_vals","marker3_vals"), c("metadata1_vals"))
Run the code above in your browser using DataLab