dataframe - R : understanding simplified script with brackets or hooks? -


i understand how works script :

y <- y[keep, , keep.lib.sizes=false]

in : keep <- rowsums(cpm(y)>1) >= 3 y <- y[keep, , keep.lib.sizes=false]

i know d.f[a,b] can not find r-doc d.f[a, ,b].

i tried "brackets", "hooks", "commas"... :-(

(sometimes prefer 1 not simplifie r script !)

thanks in advance.

subscripting data.frames takes 2 values: df[rows, columns]. third value optional arguments can use subscript.

the common of drop=false in df[1:18, 3, drop = false]. done because when subset 1 column of data.frame, lose data.frame class. in specific case, seems using object looks data.frame added functionalities bioconductor package. @ methods tell how these work.


Comments

Popular posts from this blog

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -