View source: R/jj_get_feature_mat.R
jj_get_feature_mat | R Documentation |
extracts gene expression values for a given vector of features of interest
jj_get_feature_mat(
feature_mat,
features,
fail_on_missing = FALSE,
use_features_order = TRUE,
verbose = TRUE
)
feature_mat |
matrix with n features (rows) and m observations (columns) |
features |
features for which the values should be extracted from the matrix |
fail_on_missing |
return error if not all features are found |
use_features_order |
order the rows in the matrix by the order of |
mat_use = matrix(1:20, nrow=10, byrow=T)
rownames(mat_use) = LETTERS[1:10]
jj_get_feature_mat(mat_use, c('D','J','A'))
jj_get_feature_mat(mat_use, c('D','J','A', 'Z'), use_features_order=F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.