Description Usage Arguments Value Examples
Computes a classification on the target data thanks to the approximation of the transport plan and the classification of the source data. Transport plan is approximated with the stochastic algorithm.
1 2 3 4 5 6 7 8 9 10 11 | Label_Prop_sto_r(
X_s,
X_t,
Lab_source,
eps = 1e-04,
const = 0.1,
n_iter = 4000,
minMaxScaler = TRUE,
monitoring = TRUE,
thresholding = TRUE
)
|
X_s |
a cytometry dataframe. The columns correspond to the different biological markers tracked. One line corresponds to the cytometry measurements performed on one cell. The classification of this Cytometry data set must be provided with the Lab_source parameters. |
X_t |
a cytometry dataframe. The columns correspond to the different biological markers tracked. One line corresponds to the cytometry measurements performed on one cell. The CytOpT algorithm targets the cell type proportion in this Cytometry data set |
Lab_source |
a vector of length |
eps |
an float value of regularization parameter of the Wasserstein distance. Default is |
const |
an float constant. Default is |
n_iter |
an integer Constant that iterate method select. Default is |
minMaxScaler |
a logical flag indicating to possibly Scaler |
monitoring |
a logical flag indicating to possibly monitor the gap between the estimated proportions and the manual
gold-standard. Default is |
thresholding |
a logical flag. |
a ggplot
object
a vector of length nrow(X_t)
with the propagated labels
1 2 3 4 5 6 | if(interactive()){
res <- Label_Prop_sto_r(X_s = HIPC_Stanford_1228_1A, X_t = HIPC_Stanford_1369_1A,
Lab_source = HIPC_Stanford_1228_1A_labels)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.