marker_prediction_plot: marker_prediction_plot

View source: R/marker_prediction_plot.R

marker_prediction_plotR Documentation

marker_prediction_plot

Description

Takes in the returned dataframe from marker_threshold_plot and generates a .pdf file containing scatter plots of actual intensity and predicted intensity for every marker.

Usage

marker_prediction_plot(predicted_data, marker)

Arguments

predicted_data

Output from predict_phenotypes.

marker

String. Marker to plot

Value

A plot is returned

Examples

predicted_result <- predict_phenotypes(spe_object = simulated_image, thresholds = NULL,
tumour_marker = "Tumour_marker",baseline_markers = c("Immune_marker1", "Immune_marker2", 
"Immune_marker3", "Immune_marker4"), reference_phenotypes = TRUE)
marker_prediction_plot(predicted_result, marker = "Tumour_marker")

TrigosTeam/SPIAT documentation built on Nov. 6, 2023, 3:50 p.m.