Description Usage Arguments Value Examples
View source: R/Train_model_music.R
add_deconvolution_training_model_music
adds a new model
1 2 3 4 5 | add_deconvolution_training_model_music(
transcriptome_data,
model_name,
subtype_vector
)
|
transcriptome_data |
Path to transcriptomic data to be used for training. Has to contain the cell subtypes to which the similarity will be calculated. Note that the row names have to contain the HGNC symbols and the column names the sample names. |
model_name |
Name of the model. |
subtype_vector |
Character vector containing the subtype
labels of the training data samples ( |
Stores a new model in the package directory
1 2 3 4 5 6 7 8 9 10 | data("Lawlor") # Data from Lawlor et al.
data(meta_data)
# extract the training sample subtype labels
subtype_vector = as.character(meta_data$Subtype)
add_deconvolution_training_model_music(
transcriptome_data = Lawlor,
model_name = "my_model",
subtype_vector = subtype_vector
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.