keep_variable | R Documentation |
keep_variable() takes as input a 'tbl' formatted as | <element> | <feature> | <value> | <...> | and returns a 'tbl' with the filtered most variable features. The formula used is from limma::plotMDS (Robinson et al., 2010, <doi:10.1093/bioinformatics/btp616>)
keep_variable(.data, .element, .feature, .value, top = Inf, transform = NULL)
## S3 method for class 'spec_tbl_df'
keep_variable(.data, .element, .feature, .value, top = Inf, transform = NULL)
## S3 method for class 'tbl_df'
keep_variable(.data, .element, .feature, .value, top = Inf, transform = NULL)
.data |
A 'tbl' |
.element |
A character name of the element column |
.feature |
A character name of the transcript/gene column |
.value |
A character name of the read count column |
top |
An integer. How many top genes to select |
transform |
A function to use to tranforma the data internalli (e.g., log1p) |
maturing
...
A 'tbl' with filtered features
A 'tbl' with filled abundance
A 'tbl' with filled abundance
keep_variable(mtcars_tidy, car_model, feature, value, top=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.