feature_profile: Visualize the feature profile

Description Usage Arguments Value References Examples

View source: R/feature_profile.R

Description

Visualize the feature profile against phenotype .

Usage

1
2
3
4
5
6
7
feature_profile(
  Data,
  phenotype.v,
  phenotype.is.categorical,
  feature.index,
  tissue.index
)

Arguments

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.

Value

profile.p All the profile figures.

References

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.

Examples

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))

jinghan1018/tensorICA documentation built on March 23, 2020, 5:26 a.m.