filterSamplesByLibSize: Filter Samples based on Library Size

View source: R/library_size_filter.R

filterSamplesByLibSizeR Documentation

Filter Samples based on Library Size

Description

This function is a part of the data wrangling functionality of tcgaCleaneR. It allows user to handle the bias in SummarizedExperiment S4 class Cancer Dataset (e.g. TCGA dataset) due to library size by filtering out the samples with sample size greater than the threshold. Using plotLibSize, user can determine the threshold.

Usage

filterSamplesByLibSize(data, ls_cutoff)

Arguments

data

SummarizedExperiment S4 class Dataset. E.g. TCGA Dataset.

ls_cutoff

numeric: library size threshold

Value

S4 data object

Examples


filterSamplesByLibSize(data = brca.data, ls_cutoff = 17.5)


AbhishekSinha28/tgcapkg documentation built on May 3, 2022, 7:40 a.m.