filter_genes: Filter GxS expression data to specific list of genes If...

Description Usage Arguments Value

Description

Filter GxS expression data to specific list of genes If 'include_random' is true, will optionally select random genes to round out the comparison

Usage

1
2
filter_genes(df, n_genes = 900, genelist = rinfino::genelist,
  include_random = TRUE)

Arguments

df

(tbl_df) SxG df with expression data, where sampleinfo stored in sampleinfo attr

n_genes

(int) desired total number of genes (irrelevant if include_random == FALSE)

genelist

(tbl_df) contains column '_GENE' containing list of genes to filter to

include_random

(bool) whether to sample from remaining genes to reach 'n_genes'

Value

tbl_df containing filtered expression data, with sampleinfo attr


hammerlab/rinfino documentation built on May 27, 2019, 8:45 a.m.