Description Usage Arguments Value References Examples
View source: R/feature_profile.R
Visualize the feature profile against phenotype .
1 2 3 4 5 6 7 | feature_profile(
Data,
phenotype.v,
phenotype.is.categorical,
feature.index,
tissue.index
)
|
Data |
The data object used in TICA. |
phenotype.v |
A vector comtains phenotypes inputed by users to plot against, it should be in the same length with the number of sample. |
phenotype.is.categorical |
A Boolean logical variable states whether the phenotype is categorical. |
feature.index |
The index of features in data matrix used in TICA. It can be obtained by feature selection. |
tissue.index |
The index of tissue in data matrix used in TICA. |
profile.p All the profile figures.
Teschendorff AE, Han J, Paul D, Virta J, Nordhausen K. Tensorial Blind Source Separation for Improved Analysis of Multi-Omic Data. Genome Biology (2018) 19:76.
1 2 3 4 5 6 7 8 | data(buccalbloodtensor);
Dim.l <- EstDim(buccalbloodtensor$data);
dim <- Dim.l$dim;
tica.o <- DoTICA(Data = buccalbloodtensor$data, dim = dim, method = "FOBI");
feature.k <- feature_selection(tica.o = tica.o, component = 12, CLkurt = 0.95);
(profile.p <- feature_profile(Data = buccalbloodtensor$data,
phenotype.v = buccalbloodtensor$pheno.l$SmokingStatus, phenotype.is.categorical = TRUE,
feature.index = feature.k$pred.idx[[1]][seq_len(10)], tissue.index = 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.